Skip to content

Commit e057e9a

Browse files
committed
lint main generate
1 parent 2ed4a79 commit e057e9a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

generate/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ module.exports = function generate() {
1010
.then(function(statuses) {
1111
var dirtySubmodules = statuses
1212
.filter(function(status) {
13-
return status.onNewCommit
14-
|| status.needsInitialization
15-
|| status.workDirDirty;
13+
return status.onNewCommit ||
14+
status.needsInitialization ||
15+
status.workDirDirty;
1616
});
1717

1818
if (dirtySubmodules.length) {
@@ -31,7 +31,7 @@ module.exports = function generate() {
3131
console.error("[nodegit] ERROR - Could not generate native code");
3232
console.error(e);
3333
});
34-
}
34+
};
3535

3636
if (require.main === module) {
3737
module.exports();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"generateNativeCode": "node generate/scripts/generateNativeCode",
8484
"install": "node lifecycleScripts/preinstall && node lifecycleScripts/install",
8585
"installDebug": "BUILD_DEBUG=true npm install",
86-
"lint": "jshint generate/templates/filters/ generate/scripts lib test/tests test/utils examples lifecycleScripts",
86+
"lint": "jshint generate/templates/filters/ generate/scripts generate/index.js lib test/tests test/utils examples lifecycleScripts",
8787
"mergecov": "lcov-result-merger 'test/**/*.info' 'test/coverage/merged.lcov' && ./lcov-1.10/bin/genhtml test/coverage/merged.lcov --output-directory test/coverage/report",
8888
"mocha": "mocha --expose-gc test/runner test/tests --timeout 15000",
8989
"mochaDebug": "mocha --expose-gc --debug-brk test/runner test/tests --timeout 15000",

0 commit comments

Comments
 (0)