Skip to content

Commit 6fe3c62

Browse files
committed
Build: Use fs.existsSync() instead of path.existsSync().
1 parent 56de05c commit 6fe3c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/tasks/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ grunt.registerMultiTask( "zip", "Create a zip file for release", function() {
159159

160160
grunt.registerMultiTask( "md5", "Create list of md5 hashes for CDN uploads", function() {
161161
// remove dest file before creating it, to make sure itself is not included
162-
if ( path.existsSync( this.file.dest ) ) {
162+
if ( fs.existsSync( this.file.dest ) ) {
163163
fs.unlinkSync( this.file.dest );
164164
}
165165
var crypto = require( "crypto" ),

0 commit comments

Comments
 (0)