🌐 AI搜索 & 代理 主页
Skip to content

Commit b2bbaa3

Browse files
committed
Release: remove the need to install grunt globally
1 parent 967af73 commit b2bbaa3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/release.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ module.exports = function( Release ) {
4747
* @param {Function} callback
4848
*/
4949
generateArtifacts: function( callback ) {
50-
Release.exec( "grunt", "Grunt command failed" );
50+
Release.exec( "npx grunt", "Grunt command failed" );
5151
Release.exec(
52-
"grunt custom:slim --filename=jquery.slim.js && " +
53-
"grunt remove_map_comment --filename=jquery.slim.js",
52+
"npx grunt custom:slim --filename=jquery.slim.js && " +
53+
"npx grunt remove_map_comment --filename=jquery.slim.js",
5454
"Grunt custom failed"
5555
);
5656
cdn.makeReleaseCopies( Release );

0 commit comments

Comments
 (0)