gtg092x / gulp-sftp

Gulp SFTP Deploy
140 stars 61 forks source link

Suppress error for existing directories #61

Open saschabratton opened 8 years ago

saschabratton commented 8 years ago

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.

criztovyl commented 7 years ago

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

saschabratton commented 7 years ago

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

criztovyl commented 7 years ago

I'm on Debian Stretch.