diff --git a/Gruntfile.js b/Gruntfile.js index d6b33d391e6d5..1c4bcca39593b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -2221,7 +2221,7 @@ module.exports = function(grunt) { grunt.registerTask( 'browserslist:update', 'Update the local database of browser supports', function() { grunt.log.writeln( `Updating browsers list` ); - spawn( 'npx', [ 'browserslist@latest', '--update-db' ], { + spawn( 'npx', [ 'update-browserslist-db@latest' ], { cwd: __dirname, stdio: 'inherit', } );