From f054510f17cf745b054f3e9b3b31b4171883ee46 Mon Sep 17 00:00:00 2001 From: reviewher <24845478+reviewher@users.noreply.github.com> Date: Sat, 20 Oct 2018 18:45:27 -0400 Subject: [PATCH] Added missing semicolon --- .eslintrc.json | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index c75e9aed0..9acfc3c48 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -2,7 +2,7 @@ "extends": "standard", "rules": { "one-var": "off", - "semi": ["error", "always", { "omitLastInOneLineBlock": true }], + "semi": ["error", "always"], "space-before-function-paren": ["error", "never"] } } diff --git a/index.js b/index.js index bf039c90a..84436d8ea 100644 --- a/index.js +++ b/index.js @@ -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:*'); } }