Merge pull request #234 from rajat404/main

Avoid printing the error message twice from client
This commit is contained in:
Matt Moyer 2020-11-20 13:29:35 -06:00 committed by GitHub
commit fd0e0bb4c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -4,7 +4,6 @@
package cmd
import (
"fmt"
"os"
"github.com/spf13/cobra"
@ -22,7 +21,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 {
fmt.Println(err)
os.Exit(1)
}
}