diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/tasks/build.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index 2f191b69a..3f3dd31c5 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -177,8 +177,8 @@ grunt.registerTask( "generate_themes", function() { distFolder = "dist/" + grunt.template.process( grunt.config( "files.dist" ), grunt.config() ); try { require.resolve( "download.jqueryui.com" ); - } catch( e ) { - throw "You need to manually install download.jqueryui.com for this task to work"; + } catch( error ) { + throw new Error( "You need to manually install download.jqueryui.com for this task to work" ); } // copy release files into download builder to avoid cloning again |