File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ grunt.registerTask( "generate_themes", function() {
178178 var download , done ,
179179 distFolder = "dist/" + grunt . template . process ( grunt . config ( "files.dist" ) , grunt . config ( ) ) ,
180180 target = "dist/" + grunt . template . process ( grunt . config ( "files.themes" ) , grunt . config ( ) ) + "/" ;
181-
181+
182182 try {
183183 require . resolve ( "download.jqueryui.com" ) ;
184184 } catch ( error ) {
@@ -195,11 +195,12 @@ grunt.registerTask( "generate_themes", function() {
195195 } ) ;
196196
197197 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 ) ;
201201 return done ( false ) ;
202202 }
203+
203204 done (
204205 files . every ( function ( file ) {
205206 try {
You can’t perform that action at this time.
0 commit comments