From 891f9defeb9713d8da9428195ad594a6d3627400 Mon Sep 17 00:00:00 2001 From: Shigeki Ohtsu Date: Fri, 2 Dec 2011 10:17:19 +0900 Subject: [PATCH] No need to have NativeModule.require('fs') in Module._findPath() --- lib/module.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/module.js b/lib/module.js index 95514ecef73..f6f6285fb61 100644 --- a/lib/module.js +++ b/lib/module.js @@ -158,7 +158,6 @@ function tryExtensions(p, exts) { Module._findPath = function(request, paths) { - var fs = NativeModule.require('fs'); var exts = Object.keys(Module._extensions); if (request.charAt(0) === '/') {