From fb93047ab0e175bd33fa75666fb28d87d53aeca0 Mon Sep 17 00:00:00 2001 From: Andreas Wachter Date: Wed, 27 Dec 2023 10:29:06 +0100 Subject: [PATCH] change fatal to warning --- local/local.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/local/local.go b/local/local.go index 1eb213b..0e9a156 100644 --- a/local/local.go +++ b/local/local.go @@ -167,9 +167,11 @@ func Locally(repo types.Repo, l types.Local, dry bool) bool { Msg(err.Error()) } else { if x == tries { - sub.Fatal(). + sub.Warn(). Str("repo", repo.Name). Msg(err.Error()) + os.RemoveAll(repo.Name) + break } else { os.RemoveAll(repo.Name) sub.Warn().