Commit 9719a6c
authored
Fix inverted logic in
Previously, the logic of the `verification.check_disallowed_field`
method was inverted. Instead of returning a violation when the
disallowed field was present, it was returning the violation when it
was not present. My suspicion is that this was due to a copy/paste
error.
This fixes this bug, by returning a violation only when a disallowed
field is present.
The bug was first found in the logic of the linter rule of:
`ieeetran_rules.check_in_collection`.
Fixes #18check_disallowed_field (#19)1 parent b9238c2 commit 9719a6c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments