Skip to content

Do not display line number when line is 0#31

Merged
ruudk merged 1 commit intomainfrom
ruudk/2026/2/line
Feb 28, 2026
Merged

Do not display line number when line is 0#31
ruudk merged 1 commit intomainfrom
ruudk/2026/2/line

Conversation

@ruudk
Copy link
Copy Markdown
Member

@ruudk ruudk commented Feb 28, 2026

Some errors don't have a line number (line 0). In that case, omit the :0 suffix from the displayed path so the link reads as a file-only reference instead of pointing to a nonsensical line 0.

Some errors don't have a line number (line 0). In that case, omit the
`:0` suffix from the displayed path so the link reads as a file-only
reference instead of pointing to a nonsensical line 0.
@ruudk ruudk merged commit 0e2c613 into main Feb 28, 2026
30 checks passed
@ruudk ruudk deleted the ruudk/2026/2/line branch February 28, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant