Remove duplicate error messages

Remove duplicate error messages when command fails
This commit is contained in:
ramnar 2019-07-04 17:25:33 +05:30 committed by GitHub
parent f978c4cab5
commit fd9dd13cc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,6 @@ func newCommand() *cobra.Command {
func main() {
command := newCommand()
if err := command.Execute(); err != nil {
fmt.Fprintf(os.Stderr, "error: %v\n", err)
os.Exit(1)
}
}