mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-11 04:48:44 +03:00
💄 Resolve apm path once
This commit is contained in:
parent
0f1c1715dd
commit
aed15766fb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user