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

path.resolve(null) throws exception in v0.9.x #2

Closed
mattpodwysocki opened this issue Mar 6, 2013 · 0 comments
Closed

path.resolve(null) throws exception in v0.9.x #2

mattpodwysocki opened this issue Mar 6, 2013 · 0 comments

Comments

@mattpodwysocki
Copy link

path.resolve(null) changes behavior from cwd in Node v0.8.x and v0.9.x so the following will always fail:

globOptions.cwd = path.resolve(globOptions.cwd);

Should it be?

globOptions.cwd = path.resolve(globOptions.cwd || '');

Relevant Issue:

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

No branches or pull requests

2 participants