mirror of https://github.com/nodejs/node.git
No need to have NativeModule.require('fs') in Module._findPath()
parent
dce8682827
commit
891f9defeb
|
@ -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…
Reference in New Issue