We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.39.1
Yes
Ran gazelle on a pkg containing a duplicate rule
A successful run cleaning up the duplicate.
All directives and manually curated rules in the file are discarded and a corrupted graph is generated.
This is because when checkFile returns an error, the file is discarded:
checkFile
bazel-gazelle/rule/rule.go
Line 142 in 99af6b3
And the only check checkFile performs is for duplicate rules:
Line 1164 in 99af6b3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of gazelle are you using?
0.39.1
Does this issue reproduce with the latest releases of all the above?
Yes
What did you do?
Ran gazelle on a pkg containing a duplicate rule
What did you expect to see?
A successful run cleaning up the duplicate.
What did you see instead?
All directives and manually curated rules in the file are discarded and a corrupted graph is generated.
This is because when
checkFile
returns an error, the file is discarded:bazel-gazelle/rule/rule.go
Line 142 in 99af6b3
And the only check checkFile performs is for duplicate rules:
bazel-gazelle/rule/rule.go
Line 1164 in 99af6b3
The text was updated successfully, but these errors were encountered: