From a739e4c5f4f6fbfe269b2243047fdcda1d487cb0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 15 Oct 2025 17:55:42 -0500 Subject: handles forge running for the first time --- doRebuild.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doRebuild.go') diff --git a/doRebuild.go b/doRebuild.go index 0192cd7..1bb94c3 100644 --- a/doRebuild.go +++ b/doRebuild.go @@ -100,7 +100,7 @@ func doRebuildForge() (string, error) { return "forge is new. this may not work yet", errors.New("forge init not working yet") } repo := me.forge.Repos.FindByNamespace("go.wit.com/apps/forge") - if repo != nil { + if repo == nil { r := shell.Run([]string{"forge", "show"}) return "failed the first go around. run it again. this feature is new", r.Error } -- cgit v1.2.3