Skip to content

Commit cdf42b1

Browse files
authored
Release v7.16.1 (#5501)
* Update expected error count * v7.16.1
1 parent 3f68b7b commit cdf42b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ end
5858
# The error count will need to be adjusted here until such time as all grammars are 100% error free.
5959
desc "Check that compiling the grammars doesn't introduce any new unexpected errors"
6060
task :check_grammars do
61-
expected_error_count = 55 # This count should only ever go down. If it goes up, there's a new issue that needs to be addressed before updating the grammar.
61+
expected_error_count = 25 # This count should only ever go down. If it goes up, there's a new issue that needs to be addressed before updating the grammar.
6262
rm_rf "linguist-grammars"
6363
output, status = Open3.capture2e("script/grammar-compiler", "compile", "-o", "linguist-grammars")
64-
errors_found = output[/the grammar library contains ([0-9]+) errors/, 1].to_i
64+
errors_found = output[/The grammar library contains ([0-9]+) errors/, 1].to_i
6565
missing_grammars = output.scan(/Missing scope in repository: `([^`].+)` is listed in grammars.yml but cannot be found/)
6666

6767
unless missing_grammars.empty?

lib/linguist/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.16.0
1+
7.16.1

0 commit comments

Comments
 (0)