💄 path being resolved is always relative

This commit is contained in:
Kevin Sawicki
2013-09-04 09:00:43 -07:00
parent 67008e3584
commit b3fdf08258

View File

@@ -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