log push errors
This commit is contained in:
parent
c8ab36a560
commit
605664239f
1 changed files with 3 additions and 1 deletions
4
main.go
4
main.go
|
@ -208,7 +208,9 @@ func main() {
|
|||
Password: *password,
|
||||
}
|
||||
|
||||
CreateRemote(repo, *remote)
|
||||
if _, err := CreateRemote(repo, *remote); err != nil {
|
||||
log.Fatalf("%s", err)
|
||||
}
|
||||
|
||||
if *push == true {
|
||||
if err := Push(auth, repo); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue