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

Fixed issue #2 #3

Closed
wants to merge 1 commit into from
Closed

Fixed issue #2 #3

wants to merge 1 commit into from

Conversation

mokkabonna
Copy link
Contributor

path.resolve does not allow first argument to be anything other than string if it present.

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

would also work

@mokkabonna
Copy link
Contributor Author

Ah, didn't realize the two commits got placed in the same pull request. Well, anyway..

@cowboy
Copy link
Contributor

cowboy commented Mar 7, 2013

Thanks for this fix. Can you change the unit tests in a separate PR so I can review them independently?

Thanks!

@mokkabonna
Copy link
Contributor Author

Cleaned up ths PR, will add another for tests.

@davglass
Copy link

davglass commented Mar 8, 2013

👍 I was about to fork and submit this same PR. :)

@cowboy
Copy link
Contributor

cowboy commented Mar 8, 2013

Closed in 35a3ab5.

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.

None yet

3 participants