Skip to content

Commit

Permalink
Merge pull request #10400 from abpframework/mehmet-erim-patch-1
Browse files Browse the repository at this point in the history
Update npm-check-updatest command
  • Loading branch information
ebicoglu committed Oct 22, 2021
2 parents 7ad7694 + 1da9b06 commit b25b72a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion npm/package-update-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const check = (pkgJsonPath) => {
return childProcess
.execSync(
`ncu "/^@(${packages}).*$/" --packageFile ${pkgJsonPath} -u${
program.prerelase ? ' --target greatest' : ''
program.prerelase ? ' --target newest' : ''
}${program.registry ? ` --registry ${program.registry}` : ''}`
)
.toString();
Expand Down
2 changes: 1 addition & 1 deletion npm/update-gulp.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const updatePackages = (pkgJsonPath) => {
const result = childProcess
.execSync(
`ncu "/^@abp.*$/" --packageFile ${pkgJsonPath} -u${
program.prerelase ? ' --target greatest' : ''
program.prerelase ? ' --target newest' : ''
}`
)
.toString();
Expand Down

0 comments on commit b25b72a

Please sign in to comment.