mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
💄 path being resolved is always relative
This commit is contained in:
@@ -52,8 +52,7 @@ class AtomWindow
|
||||
]
|
||||
paths.push('spec') if @isSpec
|
||||
|
||||
paths = paths.map (relativeOrAbsolutePath) ->
|
||||
path.resolve resourcePath, relativeOrAbsolutePath
|
||||
paths = paths.map (relativePath) -> path.resolve(resourcePath, relativePath)
|
||||
paths.push(resourcePath)
|
||||
|
||||
process.env['NODE_PATH'] = paths.join path.delimiter
|
||||
|
||||
Reference in New Issue
Block a user