Skip to content

Commit

Permalink
Make plural repair fail silently (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino authored Sep 20, 2022
1 parent dc27d5d commit fc82977
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmd/plural/git.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package main

import (
"fmt"
"os"
"os/exec"

Expand All @@ -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 {
Expand Down

0 comments on commit fc82977

Please sign in to comment.