Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 21, 2023
1 parent d44d380 commit 3fff4d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion check-npm-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ try {
process.stderr.write(
pico.red(
'Update npm or call ' +
pico.yellow('npx browserslist@latest --update-db') +
pico.yellow('npx update-browserslist-db@latest') +
'\n'
)
)
Expand Down
2 changes: 1 addition & 1 deletion test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ test('throws on missing package.json', async () => {
throws(
runUpdate,
'Cannot find package.json. ' +
'Is this the right directory to run `npx browserslist --update-db` in?'
'Is this the right directory to run `npx update-browserslist-db` in?'
)
})

Expand Down

1 comment on commit 3fff4d6

@Johnlin07
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is right

Please sign in to comment.