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
In the example at https://docs.errata.ai/vale/cli#template-examples, the final line seems to be outputting the number of files that had an alert at error/warning/suggestion level. When I run the example template with 1300'ish files, (and one set to fail during testing), I get:
1 errors, 0 warnings and 0 suggestions in 1 file.
If no files fail, it says 0 files. Seems that the $f variable is only incrementing when an alert is thrown... or maybe .Files is only returning files with alerts? It's a very minor thing, and we've still switched to using a template, but might as well point it out. cc @jdkato
The text was updated successfully, but these errors were encountered:
@jdkato Actually, I mentioned the problem to a co-worker, who mentioned it to another co-worker, who opened a PR to try to fix it for the technical writing team 😅 #270
In the example at https://docs.errata.ai/vale/cli#template-examples, the final line seems to be outputting the number of files that had an alert at error/warning/suggestion level. When I run the example template with 1300'ish files, (and one set to fail during testing), I get:
If no files fail, it says
0 files
. Seems that the$f
variable is only incrementing when an alert is thrown... or maybe.Files
is only returning files with alerts? It's a very minor thing, and we've still switched to using a template, but might as well point it out. cc @jdkatoThe text was updated successfully, but these errors were encountered: