No need to have NativeModule.require('fs') in Module._findPath()

pull/24503/head
Shigeki Ohtsu 2011-12-02 10:17:19 +09:00 committed by isaacs
parent dce8682827
commit 891f9defeb
1 changed files with 0 additions and 1 deletions

View File

@ -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) === '/') {