diff --git a/src/node.js b/src/node.js index 571755b4e01..d83089f7c4f 100644 --- a/src/node.js +++ b/src/node.js @@ -165,7 +165,7 @@ // check if the file exists and is not a directory var tryFile = function(requestPath) { try { - stats = fs.statSync(requestPath); + var stats = fs.statSync(requestPath); if (stats && !stats.isDirectory()) { return requestPath; }