fix parsing of empty lists
When an empty server lists is received the output is [ { task: '', node: undefined, pid: 0 } ]
instead of []
.
A way to solve it is to check if servers and pids can be empty strings before splitting again.
When an empty server lists is received the output is [ { task: '', node: undefined, pid: 0 } ]
instead of []
.
A way to solve it is to check if servers and pids can be empty strings before splitting again.