mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Initialize primaryResult to an array, not null
This commit is contained in:
parent
59883023ca
commit
edf1e1ab49
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ for command, key_pos of COMMANDS
|
|||
do (command, key_pos) ->
|
||||
Client.prototype[command] = (args..., callback) ->
|
||||
primaryError = null
|
||||
primaryResult = null
|
||||
primaryResult = []
|
||||
jobs = @clients.map (client) =>
|
||||
(cb) =>
|
||||
cb = _.once(cb)
|
||||
|
|
Loading…
Reference in a new issue