From c65fbd616f083baa529f96f3f7dd6d1973fd9aba Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Tue, 23 Dec 2025 18:00:18 -0600 Subject: [PATCH] Update version_branch.yml --- .github/workflows/version_branch.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/version_branch.yml b/.github/workflows/version_branch.yml index 61266d9..fc6173a 100644 --- a/.github/workflows/version_branch.yml +++ b/.github/workflows/version_branch.yml @@ -194,8 +194,7 @@ data = target.read_bytes() # Report line numbers without printing the raw characters. def byte_to_line(blob: bytes, idx: int) -> int: - return blob[:idx].count(b' -') + 1 + return blob[:idx].count(b'\n') + 1 bad = [] for i, b in enumerate(data):