From a79f36cbf2ebba5772bb0cbca76907297ed05bbf Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 11 Oct 2013 08:58:51 -0700 Subject: [PATCH] :lipstick: Resolve atom.sh once --- tasks/test-task.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/test-task.coffee b/tasks/test-task.coffee index f33d92b7f..886cb7255 100644 --- a/tasks/test-task.coffee +++ b/tasks/test-task.coffee @@ -9,11 +9,12 @@ module.exports = (grunt) -> grunt.registerTask 'run-specs', 'Run the specs', -> passed = true done = @async() + atomPath = path.resolve('atom.sh') queue = async.queue (packagePath, callback) -> options = cmd: path.resolve('node_modules/.bin/apm') - args: ['test', '-p', path.resolve('atom.sh')] + args: ['test', '-p', atomPath] opts: cwd: packagePath spawn options, (error, results, code) ->