spmjs / node-scp2

[MAINTAINER WANTED] A pure javascript scp program based on ssh2.
384 stars 96 forks source link

Fix parse unit tests and simplify logic #90

Closed onebytegone closed 7 years ago

onebytegone commented 7 years ago

In 6fbafab15151e2b756f358ee7e2283b864b7ae88 the regex for parsing was changed to add support for ':port'. However, the tests were not updated. This fixes the failing tests and simplifies the logic around the parsing.