log push errors

This commit is contained in:
Tim Schubert 2022-05-31 18:01:17 +02:00
parent c8ab36a560
commit 605664239f
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -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 {