We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0810515 commit 1b719a8Copy full SHA for 1b719a8
bin/annotate-specification-links
@@ -57,7 +57,7 @@ def line_number_of(path: Path, case: dict[str, Any]) -> int:
57
with path.open() as file:
58
description = case["description"]
59
return next(
60
- (i for i, line in enumerate(file, 1) if description in line),
+ (i + 1 for i, line in enumerate(file, 1) if description in line),
61
1,
62
)
63
0 commit comments