From 581a4d96fcdcaf93a3c3169ecc60c2f603ceb7ae Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 8 Mar 2024 14:41:22 -0600 Subject: make go.* --- main.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 661c115..a37f07f 100644 --- a/main.go +++ b/main.go @@ -43,7 +43,12 @@ func main() { rv = repolist.AutotypistView(b) os.Setenv("REPO_AUTO_CLONE", "true") - rv.NewRepo(myargs.Repo) + newr, err := rv.NewRepo(myargs.Repo) + if err != nil { + log.Info("could not download:", err) + os.Exit(-1) + } + newr.Status.MakeRedomod() // rv.NewRepo("go.wit.com/apps/helloworld") -- cgit v1.2.3