From b2bbaa36d4d37bd48f954ed3cdbd50d3461a523d 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 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 ); -- 2.39.5