@samitouri / QOS-React-2 / commits / 4a76b52751

Resolve paths relative to pwd, not npm install dir

Ben Alpert committed Feb 13, 2014 at 19:13 UTC 4a76b5275123e861bb0208167d4291e9eabe0cb1
1 file changed +1 -1
npm-jsx_whitespace_transform/run.js
+1 -1
@@ -146,7 +146,7 @@ if (require.main === module) {
146 );
147 }
148
149 - var absPath = path.resolve(__dirname, argv._[0]);
149 + var absPath = path.resolve(argv._[0]);
150
151 fs.stat(absPath, function(err, stat) {
152 if (err) throw err;