Duplicated findings for string-format
when there is more than one scope provided for single argument
#1063
Labels
string-format
when there is more than one scope provided for single argument
#1063
Describe the bug
For
string-format
rule, when there is more than one scope provided for single argument there are duplicated findings in the results.The number of findings is the same as the number of scopes provided in the configuration.
To Reproduce
Steps to reproduce the behavior:
go install github.com/mgechev/revive@latest
# flags revive -config revive.toml msg.go
msg.go
:Expected behavior
A single finding is found.
Expected behavior
Two findings are there:
Desktop (please complete the following information):
Ubuntu 23.10
1.23.0
The text was updated successfully, but these errors were encountered: