From aed59da0c936b39b1c8cfd6cc30caa688103e074 Mon Sep 17 00:00:00 2001 From: Timmy Willison <4timmywil@gmail.com> Date: Mon, 1 Mar 2021 17:48:55 -0500 Subject: [PATCH] Release: remove the need to install grunt globally --- build/release.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/release.js b/build/release.js index b95e2b62f..6b22d95c0 100644 --- a/build/release.js +++ b/build/release.js @@ -51,10 +51,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 );