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: Throw read file sync error instead of throwing static error messages #69

Merged

Conversation

KeisukeYamashita
Copy link
Contributor

Why

Because err contains the actual error message. Moreover, readFileSync doesn't only fail if the file doesn't exists.

Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
@mrexox mrexox changed the title Throw read file sync error instead of throwing static error messages fix: Throw read file sync error instead of throwing static error messages Feb 27, 2023
@mrexox mrexox merged commit eab71d1 into coverallsapp:master Feb 27, 2023
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