mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Avoid sending arguments
object to child process.
The arguments variable is not a real array, and gets screwed up when sending it to the child process. This updates it to send an array instead. Thanks to @lackac! Refs atom/terminal#23.
This commit is contained in:
parent
8b32e30ee7
commit
24943dd526
@ -87,7 +87,7 @@ class Task
|
||||
if _.isFunction(callback)
|
||||
@callback = callback
|
||||
else
|
||||
args = arguments
|
||||
args.push(callback)
|
||||
@send({event: 'start', args})
|
||||
|
||||
# Public: Send message to the task.
|
||||
|
Loading…
Reference in New Issue
Block a user