teambition / gulp-ssh

SSH and SFTP tasks for gulp
184 stars 38 forks source link

Don't set cwd / base on virtual file to __dirname #88

Open mojavelinux opened 6 years ago

mojavelinux commented 6 years ago

The cwd / base properties on the virtual file should be set to __dirname, which resolves to the installed location of the script. If anything, it should be set to process.cwd().