Browse Source

Update package-update-script.js

pull/10400/head
Mehmet Erim 5 years ago
committed by GitHub
parent
commit
1da9b06001
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      npm/package-update-script.js

2
npm/package-update-script.js

@ -15,7 +15,7 @@ const check = (pkgJsonPath) => {
return childProcess return childProcess
.execSync( .execSync(
`ncu "/^@(${packages}).*$/" --packageFile ${pkgJsonPath} -u${ `ncu "/^@(${packages}).*$/" --packageFile ${pkgJsonPath} -u${
program.prerelase ? ' --target greatest' : '' program.prerelase ? ' --target newest' : ''
}${program.registry ? ` --registry ${program.registry}` : ''}` }${program.registry ? ` --registry ${program.registry}` : ''}`
) )
.toString(); .toString();

Loading…
Cancel
Save