From 7cfc4917454664550b02d181a33dbd2ba8b2a3a6 Mon Sep 17 00:00:00 2001 From: Brian Lai Date: Mon, 19 May 2014 23:09:35 -0700 Subject: [PATCH] fixes #5 --- bin/slush.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/slush.js b/bin/slush.js index 9408830..1f20ac4 100755 --- a/bin/slush.js +++ b/bin/slush.js @@ -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 {