gulp-sftp icon indicating copy to clipboard operation
gulp-sftp copied to clipboard

Suppress error for existing directories

Open saschabratton opened this issue 8 years ago • 3 comments

Proposed solution for https://github.com/gtg092x/gulp-sftp/issues/34

Doesn't actually check if directories exist or not, so the mkdir command is still sent regardless, but simply suppresses the error if the directory exists.

saschabratton avatar Jul 14 '16 06:07 saschabratton

For me this does not work, err does not seem to have the code attribute.

criztovyl avatar Dec 04 '16 21:12 criztovyl

Thanks @criztovyl. I'll take a look if I can make a better "solution" for more operating systems. What OS are you using?

saschabratton avatar Dec 05 '16 14:12 saschabratton

I'm on Debian Stretch.

criztovyl avatar Dec 05 '16 15:12 criztovyl