From 3fff4d6cd277e97f50166fbdf6262fe82c92518a Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Thu, 21 Sep 2023 16:06:42 +0200 Subject: [PATCH] Fix warning --- check-npm-version.js | 2 +- test/index.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/check-npm-version.js b/check-npm-version.js index 25e1c92..5a37592 100644 --- a/check-npm-version.js +++ b/check-npm-version.js @@ -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' ) ) diff --git a/test/index.test.js b/test/index.test.js index 2650091..fe4a45e 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -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?' ) })