diff --git a/lib/assembly/core.js b/lib/assembly/core.js index 3539aa7..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); } @@ -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