Skip to content

Commit

Permalink
Fix a typo (#850)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmos committed May 29, 2020
1 parent 6ef6a5f commit 8de1905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildifier/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func ValidateWarnings(warnings *string, allWarnings, defaultWarnings *[]string)
}
}
if len(warningsList) > 0 && (len(plus) > 0 || len(minus) > 0) {
return []string{}, fmt.Errorf("warning categories with modifiers (\"+\" or \"-\") can't me mixed with raw warning categories")
return []string{}, fmt.Errorf("warning categories with modifiers (\"+\" or \"-\") can't be mixed with raw warning categories")
}
if len(warningsList) == 0 {
for _, warning := range *defaultWarnings {
Expand Down

0 comments on commit 8de1905

Please sign in to comment.