From 803b16559ffd2fd383c0471a8ac725e4ee723063 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 19 Mar 2010 15:05:27 -0700 Subject: [PATCH] requireNative is not available, since path.js was factored out of node.js --- lib/path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/path.js b/lib/path.js index 78bcb5675b1..3c0d114c500 100644 --- a/lib/path.js +++ b/lib/path.js @@ -57,7 +57,7 @@ exports.extname = function (path) { }; exports.exists = function (path, callback) { - requireNative('fs').stat(path, function (err, stats) { + require('fs').stat(path, function (err, stats) { if (callback) callback(err ? false : true); }); };