var download, done,
distFolder = "dist/" + grunt.template.process( grunt.config( "files.dist" ), grunt.config() ),
target = "dist/" + grunt.template.process( grunt.config( "files.themes" ), grunt.config() ) + "/";
-
+
try {
require.resolve( "download.jqueryui.com" );
} catch( error ) {
});
done = this.async();
- download.buildThemesBundle(function( err, files ) {
- if ( err ) {
- grunt.log.error( err );
+ download.buildThemesBundle(function( error, files ) {
+ if ( error ) {
+ grunt.log.error( error );
return done( false );
}
+
done(
files.every(function( file ) {
try {