mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
chore: fix linting
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user