diff --git a/build/release.js b/build/release.js index 0fea98711..e7399c968 100644 --- a/build/release.js +++ b/build/release.js @@ -47,10 +47,10 @@ module.exports = function( Release ) { * @param {Function} callback */ generateArtifacts: function( callback ) { - Release.exec( "grunt", "Grunt command failed" ); + Release.exec( "npx grunt", "Grunt command failed" ); Release.exec( - "grunt custom:slim --filename=jquery.slim.js && " + - "grunt remove_map_comment --filename=jquery.slim.js", + "npx grunt custom:slim --filename=jquery.slim.js && " + + "npx grunt remove_map_comment --filename=jquery.slim.js", "Grunt custom failed" ); cdn.makeReleaseCopies( Release );