spmjs / node-scp2

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

@aballard/refactor #124

Open ansballard opened 5 years ago

ansballard commented 5 years ago

Hello again!

So I realized I added a pretty terrible bug with my last PR (all uploaded files go to the root of the remote server, ignores destination). So I wanted to fix that, but I kind of got carried away. So I...

I also wanted to replace jshint with prettier (much smaller footprint when deving, and prettier is pretty standard at this point), add some coverage thresholds, and maybe beef up the local server so it actually writes files so all that logic can be checked, but that's for another day I guess.

Sorry for the massive PR, let me know if you'd like anything changed!