From 11afc3ec71bc127db290a436e8c19177fd00775e Mon Sep 17 00:00:00 2001 From: Joshua Holbrook Date: Fri, 6 Jul 2012 23:54:23 -0800 Subject: [PATCH] [fix] path.exists was moved to fs.exists --- lib/express.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/express.js b/lib/express.js index 0f46533..5efaee6 100644 --- a/lib/express.js +++ b/lib/express.js @@ -37,7 +37,7 @@ function viewLookup(name, options, callback){ else var computedPath = path.join(options.dir, name); - path.exists(computedPath, function(res){ + fs.exists(computedPath, function(res){ if(res) callback(computedPath); else