Skip to content

Commit

Permalink
Fix command name in error message (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
phst authored Jan 13, 2022
1 parent 93a0fe9 commit 0e2f864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edit/buildozer.go
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ func cmdDictSet(opts *Options, env CmdEnvironment) (*build.File, error) {
for _, x := range args {
kv := strings.SplitN(x, ":", 2)
if len(kv) != 2 {
return nil, fmt.Errorf("no colon in dict_add argument %q found", x)
return nil, fmt.Errorf("no colon in dict_set argument %q found", x)
}
expr := getStringExpr(kv[1], env.Pkg)
// Set overwrites previous values.
Expand Down

0 comments on commit 0e2f864

Please sign in to comment.