Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor error variables to improve pkgsite clarity #160

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

dsnet
Copy link
Collaborator

@dsnet dsnet commented Feb 12, 2025

Use individual var declarations instead of a block declaration.

Use individual var declarations instead of a block declaration.
Copy link
Collaborator

@mvdan mvdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how does this help pkgsite? can you document it briefly in the commit message?

@johanbrandhorst
Copy link
Collaborator

how does this help pkgsite? can you document it briefly in the commit message?

Agreed, shouldn't these be syntactically equivalent? Smells like a pkgsite bug. If there's an issue, perhaps we could include that in the commit message too?

@dsnet
Copy link
Collaborator Author

dsnet commented Feb 12, 2025

Perhaps a pkgsite bug, but here's a before vs after screenshot:
image

@dsnet dsnet merged commit 1deda07 into master Feb 12, 2025
8 checks passed
@dsnet dsnet deleted the jsontext-error-docs branch February 12, 2025 19:06
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.

3 participants