mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
💄
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user