diff --git a/src/atom-window.coffee b/src/atom-window.coffee index ec2af3ed1..044d9fa56 100644 --- a/src/atom-window.coffee +++ b/src/atom-window.coffee @@ -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