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

Commit aed59da

Browse files
committed
Release: remove the need to install grunt globally
1 parent 8606ce4 commit aed59da

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
@@ -51,10 +51,10 @@ module.exports = function( Release ) {
5151
* @param {Function} callback
5252
*/
5353
generateArtifacts: function( callback ) {
54-
Release.exec( "grunt", "Grunt command failed" );
54+
Release.exec( "npx grunt", "Grunt command failed" );
5555
Release.exec(
56-
"grunt custom:slim --filename=jquery.slim.js && " +
57-
"grunt remove_map_comment --filename=jquery.slim.js",
56+
"npx grunt custom:slim --filename=jquery.slim.js && " +
57+
"npx grunt remove_map_comment --filename=jquery.slim.js",
5858
"Grunt custom failed"
5959
);
6060
cdn.makeReleaseCopies( Release );

0 commit comments

Comments
 (0)