From aed15766fb6d9e4822ed0afa4ea30e3e368457ea Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 11 Oct 2013 09:08:36 -0700 Subject: [PATCH] :lipstick: Resolve apm path 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 0bc4f0caa..b4e082c9b 100644 --- a/tasks/test-task.coffee +++ b/tasks/test-task.coffee @@ -10,10 +10,11 @@ module.exports = (grunt) -> passed = true done = @async() atomPath = path.resolve('atom.sh') + apmPath = path.resolve('node_modules/.bin/apm') queue = async.queue (packagePath, callback) -> options = - cmd: path.resolve('node_modules/.bin/apm') + cmd: apmPath args: ['test', '-p', atomPath] opts: cwd: packagePath