Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absolute path? #67

Open
apowers313 opened this issue Mar 11, 2016 · 3 comments
Open

Absolute path? #67

apowers313 opened this issue Mar 11, 2016 · 3 comments

Comments

@apowers313
Copy link

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?

@xahon
Copy link

xahon commented May 30, 2017

+1

1 similar comment
@ghost
Copy link

ghost commented Jul 3, 2017

+1

@yocontra
Copy link
Collaborator

yocontra commented Jul 3, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants