You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to copy a ../path/outside of the current directory with the gulpfile.js to a host. It is really ok in this case to have the directory above the current one. I get this error: Error: Source contains paths outside of root
Other npm modules like 'del' offer a force: true option for this use case.
Oh, btw when I use ../path/outside as src, what is ok in rsync, the source path is reduced to . in the resulting rsync command, like this: rsync -anRvz --progress --delete . host:/target/directory
so I used the path module to resolve the path gulp.src(path.resolve(dist))
The text was updated successfully, but these errors were encountered:
I would like to copy a
../path/outside
of the current directory with thegulpfile.js
to a host. It is really ok in this case to have the directory above the current one. I get this error:Error: Source contains paths outside of root
Other npm modules like 'del' offer a
force: true
option for this use case.Oh, btw when I use
../path/outside
as src, what is ok in rsync, the source path is reduced to.
in the resulting rsync command, like this:rsync -anRvz --progress --delete . host:/target/directory
so I used the path module to resolve the path
gulp.src(path.resolve(dist))
The text was updated successfully, but these errors were encountered: