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

Replace os import to always use '\n' for EOL - resolves #6038 #6124

Merged
merged 1 commit into from
May 3, 2023

Conversation

calebfoss
Copy link
Contributor

Resolves #6038

Changes:

This modifies utils/sample-linter.js, replacing getting the EOL character from OS to initializing EOL as a const containing '\n'. This fixes an issue experienced by Windows users when running npm test.

PR Checklist

@calebfoss
Copy link
Contributor Author

If anyone can confirm that this works on Mac and Linux as well, that would be helpful!

@calebfoss calebfoss requested a review from limzykenneth May 1, 2023 20:17
@davepagurek davepagurek mentioned this pull request May 2, 2023
17 tasks
@limzykenneth limzykenneth merged commit 3b9dad6 into processing:main May 3, 2023
@limzykenneth
Copy link
Member

Tested on Mac and the CI is running Linux anyway so all good here. Thanks.

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.

Fatal error When running npm test on fresh github clone
2 participants