Skip to content

Commit dff373e

Browse files
committed
Provide formatting string.
Signed-off-by: Felix Fontein <felix@fontein.de>
1 parent 060f7a4 commit dff373e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/sops/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2283,7 +2283,7 @@ func keyGroups(c *cli.Context, file string) ([]sops.KeyGroup, error) {
22832283
if err != nil {
22842284
errMsg = fmt.Sprintf("%s: %s", errMsg, err)
22852285
}
2286-
return nil, fmt.Errorf(errMsg)
2286+
return nil, fmt.Errorf("%s", errMsg)
22872287
}
22882288
return conf.KeyGroups, err
22892289
}

0 commit comments

Comments
 (0)