From ff9c031f57e5e1b556b9964a16404feb0be5042a Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 4 Jun 2014 10:01:45 -0700 Subject: [PATCH] Use path.join instead of path.resolve Applies commit 41ab48b to spec-bootstrap.coffee --- spec/spec-bootstrap.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/spec-bootstrap.coffee b/spec/spec-bootstrap.coffee index 7b86a31cc..5158c9bee 100644 --- a/spec/spec-bootstrap.coffee +++ b/spec/spec-bootstrap.coffee @@ -14,8 +14,8 @@ try {runSpecSuite} = require './jasmine-helper' - # Add 'src/exports' to module search path. - exportsPath = path.resolve(atom.getLoadSettings().resourcePath, 'exports') + # Add 'exports' to module search path. + exportsPath = path.join(atom.getLoadSettings().resourcePath, 'exports') require('module').globalPaths.push(exportsPath) # Still set NODE_PATH since tasks may need it. process.env.NODE_PATH = exportsPath