From fc82977b2bbcadc49c6f6e289e0e66a5bd444038 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Tue, 20 Sep 2022 02:18:24 -0400 Subject: [PATCH] Make plural repair fail silently (#226) --- cmd/plural/git.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmd/plural/git.go b/cmd/plural/git.go index 132fefc6..7ab7aa39 100644 --- a/cmd/plural/git.go +++ b/cmd/plural/git.go @@ -1,6 +1,7 @@ package main import ( + "fmt" "os" "os/exec" @@ -14,7 +15,11 @@ func handleRepair(c *cli.Context) error { return err } - return git.Repair(repoRoot) + if err := git.Repair(repoRoot); err != nil { + fmt.Println(err) + } + + return nil } func gitConfig(name, val string) error {