Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
zephraph committed Dec 7, 2019
1 parent 74227d1 commit b3669ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -808,7 +808,7 @@ Command.prototype.parseArgs = function(args, unknown) {
if (unknown.length > 0 && !this.defaultExecutable) {
this.unknownOption(unknown[0]);
}
if ((this.commands.length !== 1 || this.commands[0]._name !== "*") &&
if ((this.commands.length !== 1 || this.commands[0]._name !== '*') &&
this._args.filter(function(a) { return a.required; }).length === 0) {
this.emit('command:*');
}
Expand Down

0 comments on commit b3669ee

Please sign in to comment.