gulp-sftp
gulp-sftp copied to clipboard
Suppress error for existing directories
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.
For me this does not work, err
does not seem to have the code
attribute.
Thanks @criztovyl. I'll take a look if I can make a better "solution" for more operating systems. What OS are you using?
I'm on Debian Stretch.