Switch to non-deprecated fs.existsSync.

Former-commit-id: 616863cf7e7edfdf919750773a12e8cd2a42ddf1
This commit is contained in:
John-David Dalton
2012-05-19 23:53:35 -04:00
parent d31471c6a1
commit 1dd9ee2397

View File

@@ -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);
}