Run rubocop 1.77.0 on tree (#12097)

This commit is contained in:
Maximilian Downey Twiss
2025-06-25 09:35:08 +10:00
committed by GitHub
parent 30bf59d261
commit 820dc4bb16
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
# These pre-commit hooks mirror the Github CI, so running them locally will catch errors earlier.
repos:
- repo: https://github.com/rubocop/rubocop
rev: v1.76.0
rev: v1.77.0
hooks:
- id: rubocop
- repo: https://github.com/syntaqx/git-hooks

View File

@@ -31,6 +31,6 @@ class BasicCompactIndexClient
return [] if data.nil? || data.empty?
lines = data.split("\n")
header = lines.index('---')
header ? lines[header + 1..] : lines
header ? lines[(header + 1)..] : lines
end
end