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

Fix tests on Windows and Node.js 12 #22

Merged
merged 3 commits into from
Feb 12, 2020

Conversation

RyanZim
Copy link
Contributor

@RyanZim RyanZim commented Feb 5, 2020

Discovered when working on #19.

Seems Node 12 returns a different error code.

@RyanZim RyanZim force-pushed the fix-tests branch 5 times, most recently from 784e294 to 8655e0b Compare February 5, 2020 20:52
@RyanZim
Copy link
Contributor Author

RyanZim commented Feb 5, 2020

Tests still failing, due to xo acting weird on Windows, refs #20. Also, seems nyc does not work in TravisCI Windows env.

@sindresorhus sindresorhus changed the title Fix tests on Windows; Node 12 Fix tests on Windows and Node. 12 Feb 12, 2020
@sindresorhus sindresorhus changed the title Fix tests on Windows and Node. 12 Fix tests on Windows and Node.js 12 Feb 12, 2020
@sindresorhus sindresorhus merged commit 3354122 into sindresorhus:master Feb 12, 2020
@sindresorhus
Copy link
Owner

Thanks :)

@sindresorhus
Copy link
Owner

I fixed the linting issue, but now it's throwing a different error: https://travis-ci.org/sindresorhus/make-dir/jobs/649422483#L74

@RyanZim RyanZim deleted the fix-tests branch February 12, 2020 13:30
@RyanZim
Copy link
Contributor Author

RyanZim commented Feb 12, 2020

@sindresorhus TravisCI is using nvs for Node version management on Windows, which places node at a non-standard location, and breaks nyc on Windows, hence the error.

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

2 participants