diff options
Diffstat (limited to 'cmd/update.go')
-rw-r--r-- | cmd/update.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/update.go b/cmd/update.go index d0e0acded9..c030b6cfb2 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -42,5 +42,7 @@ func runUpdate(c *cli.Context) { repoUserName := os.Getenv("repoUserName") repoName := os.Getenv("repoName") - models.Update(args[0], args[1], args[2], userName, repoUserName, repoName, userId) + if err := models.Update(args[0], args[1], args[2], userName, repoUserName, repoName, userId); err != nil { + log.GitLogger.Fatal(err.Error()) + } } |