When I try to spawn a program with the current code on Ubuntu, it throws up an error saying "Unhandled rejection TypeError: u.sent.filter is not a function". Checking the code, I can trace it back to line 328 of src/lib/sudoer.js. The problem appears to be that code was left behind after adding it to the getBinary function. This PR fixes it by removing the code left behind.
When I try to spawn a program with the current code on Ubuntu, it throws up an error saying "
Unhandled rejection TypeError: u.sent.filter is not a function
". Checking the code, I can trace it back to line 328 ofsrc/lib/sudoer.js
. The problem appears to be that code was left behind after adding it to thegetBinary
function. This PR fixes it by removing the code left behind.