Skip to content

fix: Throw read file sync error instead of throwing static error messages#69

Merged
mrexox merged 1 commit intocoverallsapp:masterfrom
KeisukeYamashita:throw-readyfilesync-error
Feb 27, 2023
Merged

fix: Throw read file sync error instead of throwing static error messages#69
mrexox merged 1 commit intocoverallsapp:masterfrom
KeisukeYamashita:throw-readyfilesync-error

Conversation

@KeisukeYamashita
Copy link
Copy Markdown
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.

2 participants