un-ts/synckit

random undefined message causes synckit to throw an error

Opened this issue · 0 comments

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