Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
No need to have NativeModule.require('fs') in Module._findPath()
Browse files Browse the repository at this point in the history
  • Loading branch information
Shigeki Ohtsu authored and isaacs committed Mar 20, 2012
1 parent dce8682 commit 891f9de
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/module.js
Expand Up @@ -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) === '/') {
Expand Down

0 comments on commit 891f9de

Please sign in to comment.