diff options
author | Sebastien Devaux <sebastien.devaux@laposte.net> | 2019-01-04 15:38:47 +0100 |
---|---|---|
committer | Sebastien Devaux <sebastien.devaux@laposte.net> | 2019-01-04 15:38:47 +0100 |
commit | 68cbde492da7911f67e9cce561d4c877ae36bdbf (patch) | |
tree | 680b2fbbca9531f933fcfef3a967065b764242dd /commands/show.go | |
parent | afbda3cc23282b6c37849048d33f9c9c12ef8fb8 (diff) | |
download | git-bug-68cbde492da7911f67e9cce561d4c877ae36bdbf.tar.gz |
Fixed golangci check error about new error from format string
Diffstat (limited to 'commands/show.go')
-rw-r--r-- | commands/show.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/show.go b/commands/show.go index 15b42984..bc898241 100644 --- a/commands/show.go +++ b/commands/show.go @@ -104,7 +104,7 @@ func runShowBug(cmd *cobra.Command, args []string) error { } fmt.Printf("\n") if err { - return errors.New(fmt.Sprintf("Unsupported fields requested: %s\n",unknownFields)) + return fmt.Errorf("Unsupported fields requested: %s\n",unknownFields) } } |