You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose I have a file with a syntax error, e.g. 1 +. Currently air format . errors with
ERROR Failed to format foo.R: Failed to parse due to syntax errors.
It's not clear from this message if other files were still formatted or if this error stopped the formatting for the rest of the folder as well.
Basically:
if the error stopped formatting for other files, is it possible to prevent this behavior to only stop formatting for the file with the syntax error?
if the error didn't stop formatting for other files, can it be mentioned in the error messages? For example:
ERROR Failed to format foo.R: Failed to parse due to syntax errors.
ERROR Failed to format foo-bar.R: Failed to parse due to syntax errors.
ERROR Failed to format other-file.R: Failed to parse due to syntax errors.
Remaining files were correctly formatted.
The text was updated successfully, but these errors were encountered:
Other files are still formatted. Maybe it's worth saying Successfully formatted {n} files. unconditionally? And n would be total_files - errors. I think I'd like for us to try not to be too noisy though, so idk if that's really worth it.
Suppose I have a file with a syntax error, e.g.
1 +
. Currentlyair format .
errors withIt's not clear from this message if other files were still formatted or if this error stopped the formatting for the rest of the folder as well.
Basically:
The text was updated successfully, but these errors were encountered: