File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ grunt.registerTask( "generate_themes", function() {
178
178
var download , done ,
179
179
distFolder = "dist/" + grunt . template . process ( grunt . config ( "files.dist" ) , grunt . config ( ) ) ,
180
180
target = "dist/" + grunt . template . process ( grunt . config ( "files.themes" ) , grunt . config ( ) ) + "/" ;
181
-
181
+
182
182
try {
183
183
require . resolve ( "download.jqueryui.com" ) ;
184
184
} catch ( error ) {
@@ -195,11 +195,12 @@ grunt.registerTask( "generate_themes", function() {
195
195
} ) ;
196
196
197
197
done = this . async ( ) ;
198
- download . buildThemesBundle ( function ( err , files ) {
199
- if ( err ) {
200
- grunt . log . error ( err ) ;
198
+ download . buildThemesBundle ( function ( error , files ) {
199
+ if ( error ) {
200
+ grunt . log . error ( error ) ;
201
201
return done ( false ) ;
202
202
}
203
+
203
204
done (
204
205
files . every ( function ( file ) {
205
206
try {
You can’t perform that action at this time.
0 commit comments