This commit is contained in:
probablycorey
2013-09-25 16:16:45 -07:00
parent 1e88caac50
commit 93940c03ef

View File

@@ -42,10 +42,7 @@ class AtomWindow
@openPath(pathToOpen, initialLine)
setupNodePath: (resourcePath) ->
paths = [
'exports'
'node_modules'
]
paths = ['exports', 'node_modules']
paths = paths.map (relativePath) -> path.resolve(resourcePath, relativePath)
process.env['NODE_PATH'] = paths.join path.delimiter