pr #154 definitely broke ssh functionality for me. Not sure why the return agent statement was moved up into agent.createConnection scope, but by doing so it results in any call to the ssh module to return undefined instead of an ssh agent. Which makes sense as this function never returns anything anymore, instead createConnection function returns the agent but that doesn't make sense based on how it is used.
pr #154 definitely broke ssh functionality for me. Not sure why the
return agent
statement was moved up intoagent.createConnection
scope, but by doing so it results in any call to the ssh module to returnundefined
instead of an ssh agent. Which makes sense as this function never returns anything anymore, insteadcreateConnection
function returns the agent but that doesn't make sense based on how it is used.