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

CWD causes the script to bail when it's not set #21

Merged
merged 1 commit into from
May 1, 2016

Conversation

geedew
Copy link
Contributor

@geedew geedew commented Mar 4, 2015

fileObj.orig.cwd can return undefined which will kill the path.relative call with a warning. This gives it a default empty string to base the relative off of.

`fileObj.orig.cwd` can returned undefined which will kill the `path.relative` call with a warning. This gives it a default empty string to base the relative off of.
@dkurucz dkurucz mentioned this pull request Apr 18, 2016
@dkurucz
Copy link
Collaborator

dkurucz commented May 1, 2016

thanks for the contribution!

edit: whoops hit the wrong button

@dkurucz dkurucz closed this May 1, 2016
@dkurucz dkurucz reopened this May 1, 2016
@dkurucz dkurucz merged commit f4b3d42 into spmjs:master May 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants