Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit e68bf45fe8d80ca8093d7eeefb843a607bbcb2db 1 parent f44d0b9
Shigeki Ohtsu authored December 02, 2011

Showing 1 changed file with 0 additions and 1 deletion. Show diff stats Hide diff stats

  1. 1  lib/module.js
1  lib/module.js
@@ -156,7 +156,6 @@ function tryExtensions(p, exts) {
156 156
 
157 157
 
158 158
 Module._findPath = function(request, paths) {
159  
-  var fs = NativeModule.require('fs');
160 159
   var exts = Object.keys(Module._extensions);
161 160
 
162 161
   if (request.charAt(0) === '/') {

0 notes on commit e68bf45

Please sign in to comment.
Something went wrong with that request. Please try again.