diff options
Diffstat (limited to 'node_modules/@npmcli/run-script/lib/run-script.js')
-rw-r--r-- | node_modules/@npmcli/run-script/lib/run-script.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/@npmcli/run-script/lib/run-script.js b/node_modules/@npmcli/run-script/lib/run-script.js index af33d2113..6bb4a2e66 100644 --- a/node_modules/@npmcli/run-script/lib/run-script.js +++ b/node_modules/@npmcli/run-script/lib/run-script.js @@ -5,9 +5,9 @@ const isServerPackage = require('./is-server-package.js') const runScript = options => { validateOptions(options) - const {pkg, path} = options + const { pkg, path } = options return pkg ? runScriptPkg(options) - : rpj(path + '/package.json').then(pkg => runScriptPkg({...options, pkg})) + : rpj(path + '/package.json').then(pkg => runScriptPkg({ ...options, pkg })) } module.exports = Object.assign(runScript, { isServerPackage }) |