NUEVA BUSQUEDA DE DATOS SRI
This commit is contained in:
4
node_modules/nodemon/lib/config/load.js
generated
vendored
4
node_modules/nodemon/lib/config/load.js
generated
vendored
@@ -74,7 +74,9 @@ function load(settings, options, config, callback) {
|
||||
}
|
||||
// if the script is found as a result of not being on the command
|
||||
// line, then we move any of the pre double-dash args in execArgs
|
||||
const n = options.scriptPosition || options.args.length;
|
||||
const n = options.scriptPosition === null ?
|
||||
options.args.length : options.scriptPosition;
|
||||
|
||||
options.execArgs = (options.execArgs || [])
|
||||
.concat(options.args.splice(0, n));
|
||||
options.scriptPosition = null;
|
||||
|
||||
Reference in New Issue
Block a user