From f5ecadd0dc05f9a822da5bdef61a6a13f2be9a58 Mon Sep 17 00:00:00 2001 From: Justin Bennett Date: Sat, 28 Sep 2019 22:50:52 -0400 Subject: [PATCH] Fix lint error --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 06586abb3..b6923ba18 100644 --- a/index.js +++ b/index.js @@ -681,7 +681,7 @@ Command.prototype.parseArgs = function(args, unknown) { if (unknown.length > 0) { 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:*'); }