Skip to content

Commit

Permalink
Merge pull request #882 from reviewher/patch-1
Browse files Browse the repository at this point in the history
Added missing semicolon
  • Loading branch information
abetomo authored Oct 21, 2018
2 parents 700130e + f054510 commit 27aeac1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "standard",
"rules": {
"one-var": "off",
"semi": ["error", "always", { "omitLastInOneLineBlock": true }],
"semi": ["error", "always"],
"space-before-function-paren": ["error", "never"]
}
}
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ Command.prototype.parseArgs = function(args, unknown) {
this.unknownOption(unknown[0]);
}
if (this.commands.length === 0 &&
this._args.filter(function(a) { return a.required }).length === 0) {
this._args.filter(function(a) { return a.required; }).length === 0) {
this.emit('command:*');
}
}
Expand Down

0 comments on commit 27aeac1

Please sign in to comment.