Skip to content
Permalink
Browse files

Build: Use fs.existsSync() instead of path.existsSync().

  • Loading branch information
scottgonzalez committed Feb 15, 2013
1 parent 56de05c commit 6fe3c62e08dff0dde014e42a544afe1ced4ec91b
Showing with 1 addition and 1 deletion.
  1. +1 −1 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" ),

0 comments on commit 6fe3c62

Please sign in to comment.
You can’t perform that action at this time.