Open apowers313 opened 8 years ago
It looks like the dirname option is relative, even if it includes a leading /. Is there any way to specify an absolute path, such as /etc or /tmp?
dirname
/
/etc
/tmp
+1
Should be a one line change - https://github.com/hparra/gulp-rename/blob/master/index.js#L45
Use path.relative instead AFAIK. Who wants to send the PR? Add a quick test as well.
It looks like the
dirname
option is relative, even if it includes a leading/
. Is there any way to specify an absolute path, such as/etc
or/tmp
?