gulp-run icon indicating copy to clipboard operation
gulp-run copied to clipboard

A relative options.cwd combined with running from node_modules/.bin doesn't work

Open damonmaria opened this issue 8 years ago • 0 comments

If options.cwd is specified then it is prepended in front of node_modules/.bin in the path. But this means (if options.cwd is not absolute) when changed to the new working directory the path addition is wrong (it should be just node_modules/.bin).

And when options.cwd is absolute then node_modules/.bin would still be correct. So shouldn't options.cwd not be included in the node_modules/.bin path?

damonmaria avatar Feb 01 '17 08:02 damonmaria