diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-02-15 12:41:39 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-02-15 12:41:39 -0500 |
commit | 6fe3c62e08dff0dde014e42a544afe1ced4ec91b (patch) | |
tree | cb17fc47f08cb77e0c6c5481fcf644a7d3f2c3e2 /build/tasks | |
parent | 56de05cf9d8a0b5fbab66c9dd868221e022738f6 (diff) | |
download | jquery-ui-6fe3c62e08dff0dde014e42a544afe1ced4ec91b.tar.gz jquery-ui-6fe3c62e08dff0dde014e42a544afe1ced4ec91b.zip |
Build: Use fs.existsSync() instead of path.existsSync().
Diffstat (limited to 'build/tasks')
-rw-r--r-- | build/tasks/build.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index 34f6ece29..a8f25f98f 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -159,7 +159,7 @@ grunt.registerMultiTask( "zip", "Create a zip file for release", function() { grunt.registerMultiTask( "md5", "Create list of md5 hashes for CDN uploads", function() { // remove dest file before creating it, to make sure itself is not included - if ( path.existsSync( this.file.dest ) ) { + if ( fs.existsSync( this.file.dest ) ) { fs.unlinkSync( this.file.dest ); } var crypto = require( "crypto" ), |