Commit edef81b6 authored by David Venhoek's avatar David Venhoek Committed by Sietse Ringers
Browse files

Fix: RootCmd.Execute() already prints the error it returns, so dont do that twice.

parent 6ab21ac9
......@@ -19,7 +19,6 @@ var RootCmd = &cobra.Command{
// This is called by main.main(). It only needs to happen once to the rootCmd.
func Execute() {
if err := RootCmd.Execute(); err != nil {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment