Skip to content

Conversation

@silverwind
Copy link
Member

The error count was off by one because echo -n '' | wc -l and echo -n 'xxx' | wc -l both return 0. Now it special-cases the empty string so it counts as 0.

The error count was off by one because `echo -n '' | wc -l` and `echo -n 'xxx' | wc -l` both return 0.
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Nov 25, 2025
@silverwind
Copy link
Member Author

silverwind commented Nov 25, 2025

Actually I think we can remove lint-go-gopls because some (but not all) analyzers in use are available in golangci-lint as part of the govet linter, making this script also obsolete. I will do that in another PR.

@silverwind silverwind closed this Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants