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: remove unused parameter in unexported function #1096

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

alexandear
Copy link
Contributor

The PR removes unused parameter in the stringFormatSubrule.generateFailure unexported function to fix the warning:

❯ revive -config revive.toml ./...
rule/string-format.go:310:47: parameter 's' seems to be unused, consider removing or renaming it as _

@chavacava chavacava merged commit 2ae6829 into mgechev:master Nov 7, 2024
4 checks passed
@alexandear alexandear deleted the chore/remove-unused-parameter branch November 14, 2024 16:20
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.

2 participants