Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed module.parent path

  • Loading branch information...
commit 97bb166d8368446a566945137d46d78f82a53abc 1 parent 465dad5
Thomas Blobaum authored

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

  1. +1 1  index.js
2  index.js
@@ -10,7 +10,7 @@ module.exports = function modulate(dirname, callback) {
10 10 dirname = dirname || __dirname
11 11 var paths = require('findit').sync(dirname)
12 12 paths.forEach(function (path) {
13   - if (!path.match(module.id)) callback(require(path))
  13 + if (!path.match(module.parent.id)) callback(require(path))
14 14 })
15 15 }
16 16

0 comments on commit 97bb166

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