Skip to content

Commit

Permalink
Tidy up error message to be less repetative
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed Feb 7, 2023
1 parent 8241316 commit e7dbef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gazelle/fix-update.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ func runFixUpdate(wd string, cmd command, args []string) (err error) {
for _, r := range allRules {
repl, err := lookupMapKindReplacement(c.KindMap, r.Kind())
if err != nil {
errorsFromWalk = append(errorsFromWalk, fmt.Errorf("couldn't handle loop in map_kinds: %w", err))
errorsFromWalk = append(errorsFromWalk, fmt.Errorf("looking up mapped kind: %w", err))
continue
}
if repl != nil {
Expand Down

0 comments on commit e7dbef8

Please sign in to comment.