diff --git a/src/atom-window.coffee b/src/atom-window.coffee index f9e6f51f5..ec2af3ed1 100644 --- a/src/atom-window.coffee +++ b/src/atom-window.coffee @@ -49,12 +49,12 @@ class AtomWindow 'vendor' 'static' 'node_modules' - 'spec' - '' ] + paths.push('spec') if @isSpec paths = paths.map (relativeOrAbsolutePath) -> path.resolve resourcePath, relativeOrAbsolutePath + paths.push(resourcePath) process.env['NODE_PATH'] = paths.join path.delimiter