Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Dec 29, 2017
1 parent 6e839d4 commit 6333fa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/config/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 6333fa5

Please sign in to comment.