fix: linter fix.
This commit is contained in:
parent
d00f204cc5
commit
07b7f5c13d
4 changed files with 5 additions and 6 deletions
|
|
@ -212,7 +212,7 @@ func (r *File) addLine(other Rule) bool {
|
|||
letterJ := getLetterIn(fileAlphabet, other.(*File).Path)
|
||||
groupI, ok1 := fileAlphabetGroups[letterI]
|
||||
groupJ, ok2 := fileAlphabetGroups[letterJ]
|
||||
return letterI != letterJ && !(ok1 && ok2 && groupI == groupJ)
|
||||
return letterI != letterJ && (!ok1 || !ok2 || groupI != groupJ)
|
||||
}
|
||||
|
||||
type Link struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue