From 787482ebdd4cc36ed16a0282453ee2009f43789e Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Tue, 23 Dec 2025 16:28:04 -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 bbdffdb..63f4749 100644 --- a/.github/workflows/version_branch.yml +++ b/.github/workflows/version_branch.yml @@ -193,8 +193,7 @@ jobs: # Disallow literal tab (0x09) and other ASCII control characters except LF (0x0A) and CR (0x0D). # 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):