Browse Source

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

v0.9.1-release
Shigeki Ohtsu 13 years ago
committed by isaacs
parent
commit
891f9defeb
  1. 1
      lib/module.js

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

Loading…
Cancel
Save