The current version attempts to concatenate the portsArg array with the empty ports array but misses to reassign the the new array to ports.
I just replaced the concat() with a simple assignment since the ports array will always be empty in this case.
Fixes #44 ... I hope
The current version attempts to concatenate the
portsArg
array with the emptyports
array but misses to reassign the the new array toports
. I just replaced theconcat()
with a simple assignment since theports
array will always be empty in this case.