]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Use fs.existsSync() instead of path.existsSync().
authorScott González <scott.gonzalez@gmail.com>
Fri, 15 Feb 2013 17:41:39 +0000 (12:41 -0500)
committerScott González <scott.gonzalez@gmail.com>
Fri, 15 Feb 2013 17:41:39 +0000 (12:41 -0500)
build/tasks/build.js

index 34f6ece29ea85839dd1479946efbed7d263b8e67..a8f25f98fbfec625abd6191dadc11a2ae0d09655 100644 (file)
@@ -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" ),