-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Errors with prettierd aren't handled #68
Comments
Should involve handling exit code of uv.spawn() process for formatters (we currently ignore) I suggest we also create a config option |
Fix was pushed. Thanks y'all. |
This issue resurfaced for me. Same situation, same config. Only updated the plugin. |
Yeah... previously it was working due to a bug. Some extra logic for catching errors has to be done just for |
Alright, noticeably slower but does indeed seem to work again. Thanks! |
@xiaoshihou514 why is this not resolved yet? So this is broken with prettierd because it writes to stdout not stderr. We either need to provide a table of Forrmatters and linters treat exit codes different and we can't do the logic for both of them together.... We need one of the aforementioned approaches so we can resolve both this issue AND the one you mentioned in #81 with selene. |
@barrett-ruth Because now prettierd is the only exception I am still hesitant to add yet another attribute to the tool table. Personally I would prefer providing an api for |
Makes sense I guess, maybe I'm just more liberal about the features we should include. By that reasoning it makes sense for guard-collection to have that feature. If we provide the formatter it should just work and that should be our top priority (we need to merge that ASAP). In the meantime, I tried to resolve the prettierd issue at its source. |
When the formatter fails the error gets written in the buffer.
used config:
The text was updated successfully, but these errors were encountered: