From 1dd9ee2397c11c34f2fcdf9a0bec70ba2e12c0f9 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 19 May 2012 23:53:35 -0400 Subject: [PATCH] Switch to non-deprecated `fs.existsSync`. Former-commit-id: 616863cf7e7edfdf919750773a12e8cd2a42ddf1 --- build/minify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/minify.js b/build/minify.js index 26fd3680e..909920ee5 100755 --- a/build/minify.js +++ b/build/minify.js @@ -54,7 +54,7 @@ */ function Minify(source, workingName, onComplete) { // create the destination directory if it doesn't exist - if (!path.existsSync(distPath)) { + if (!fs.existsSync(distPath)) { fs.mkdirSync(distPath); }