File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ if (process.env.NODE_PATH) {
1818 } )
1919 . join ( path . delimiter ) ;
2020
21- env = objectAssign ( { NODE_PATH : nodePath } , env ) ;
21+ env = objectAssign ( env , { NODE_PATH : nodePath } ) ;
2222}
2323
2424module . exports = function ( file , opts ) {
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ test('watcher works', function (t) {
160160} ) ;
161161
162162test ( 'handles NODE_PATH' , function ( t ) {
163- var nodePaths = 'node-paths/modules' + path . delimiter + 'node-paths/deep/nested' ;
163+ var nodePaths = 'fixture/ node-paths/modules' + path . delimiter + 'fixture/ node-paths/deep/nested' ;
164164
165165 execCli ( 'fixture/node-paths.js' , { env : { NODE_PATH : nodePaths } } , function ( err ) {
166166 t . ifError ( err ) ;
You can’t perform that action at this time.
0 commit comments