Skip to content

Commit 27aeac1

Browse files
authored
Merge pull request #882 from reviewher/patch-1
Added missing semicolon
2 parents 700130e + f054510 commit 27aeac1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "standard",
33
"rules": {
44
"one-var": "off",
5-
"semi": ["error", "always", { "omitLastInOneLineBlock": true }],
5+
"semi": ["error", "always"],
66
"space-before-function-paren": ["error", "never"]
77
}
88
}

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ Command.prototype.parseArgs = function(args, unknown) {
664664
this.unknownOption(unknown[0]);
665665
}
666666
if (this.commands.length === 0 &&
667-
this._args.filter(function(a) { return a.required }).length === 0) {
667+
this._args.filter(function(a) { return a.required; }).length === 0) {
668668
this.emit('command:*');
669669
}
670670
}

0 commit comments

Comments
 (0)