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

random undefined message causes synckit to throw an error #185

Open
dylang opened this issue Sep 5, 2024 · 0 comments
Open

random undefined message causes synckit to throw an error #185

dylang opened this issue Sep 5, 2024 · 0 comments

Comments

@dylang
Copy link

dylang commented Sep 5, 2024

It looks like we are assuming all recieved messages are objects with a message property: https://github.com/un-ts/synckit/blob/main/src/index.ts#L548

However, sometimes, randomly, only in CI, it seems to receive undefined, which synckit doesn't handle, so it throws an error.

Related: prettier/eslint-plugin-prettier#671

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

No branches or pull requests

1 participant