From fdac8663a3b164c2b03b85d8c6f0000771f5b203 Mon Sep 17 00:00:00 2001 From: Joshua Holbrook Date: Fri, 6 Jul 2012 18:22:06 -0800 Subject: [PATCH 1/2] [fix] path.exists was moved to fs.exists --- lib/assembly/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/assembly/core.js b/lib/assembly/core.js index 3539aa7..73185fc 100644 --- a/lib/assembly/core.js +++ b/lib/assembly/core.js @@ -167,5 +167,5 @@ function findFile (filename, extensions, callback) { return filename + ex; }); - async.detect(files, path.exists, callback); + async.detect(files, fs.exists, callback); }; \ No newline at end of file From d03aa6b1f643addaa9c4de4266d24a2df11591e8 Mon Sep 17 00:00:00 2001 From: Joshua Holbrook Date: Fri, 6 Jul 2012 18:22:07 -0800 Subject: [PATCH 2/2] [fix] path.existsSync was moved to fs.existsSync --- lib/assembly/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/assembly/core.js b/lib/assembly/core.js index 73185fc..d947fb8 100644 --- a/lib/assembly/core.js +++ b/lib/assembly/core.js @@ -26,7 +26,7 @@ var Core = exports.Core = function (options) { this.compilerExtensions.push(".html"); var vendorPath = path.join(this.jsRoot, "/vendor"); - if(path.existsSync(vendorPath) ) { + if(fs.existsSync(vendorPath) ) { this.paths.push(vendorPath); }