Skip to content

Commit

Permalink
fixes slushjs#5
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Lai committed May 20, 2014
1 parent 4b10223 commit 7cfc491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/slush.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function getModulesPaths () {
if (process.env.NODE_ENV === 'test') {
return [path.join(__dirname, '..', 'test')];
}
var paths = [];
var paths = [path.join(process.cwd(), 'node_modules')];
if (process.platform === 'win32') {
paths.push(path.join(process.env.APPDATA, 'npm', 'node_modules'));
} else {
Expand Down

0 comments on commit 7cfc491

Please sign in to comment.