gtg092x / gulp-sftp

Gulp SFTP Deploy
140 stars 61 forks source link

fix directory separators in windows #3

Closed valan closed 10 years ago

valan commented 10 years ago

addresses #2

the path module generates normalized paths based on the local system, and I don't see anything to change which separator it uses, so this just changes the finalRemotePath to all forward slash so it will work on a remote linux system from a local windows system. forward slashes would probably still work on a remote windows system anyway

tested this on windows and it uploads to the right place now

gtg092x commented 10 years ago

Thank you!