From 6333fa5a4c28d43f353bb62519ef721af8a2478b Mon Sep 17 00:00:00 2001 From: Remy Sharp Date: Thu, 28 Dec 2017 22:11:33 +0000 Subject: [PATCH] chore: fix linting --- lib/config/exec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/config/exec.js b/lib/config/exec.js index 0c0d234b..2e53b46a 100644 --- a/lib/config/exec.js +++ b/lib/config/exec.js @@ -79,7 +79,8 @@ function exec(nodemonOptions, execMap) { const script = expandScript(options.args[0], options.ext && ('.' + (options.ext || 'js').split(',')[0])); - if (script !== options.args[0]) { // if the script was found, shift it off our args + // if the script was found, shift it off our args + if (script !== options.args[0]) { options.script = script; options.args.shift(); }