pirumpi / sftp-upload

Allow to upload the content of a folder to a remote server through SFT utilizing pure Javascript.
40 stars 21 forks source link

Exclude don't work with globs #20

Closed X-Tender closed 4 years ago

X-Tender commented 4 years ago

I thought that when I add *.map to the exclude array that it exclude all files who end eith map but a peek into the code shows that there is only a path compare. Maybe it should be implemented like the exludeFolders options

pirumpi commented 4 years ago

I'm welcome to receive PRs for new features, and also willing to help to accomplish your needs, just let me know