diff options
| author | Jeff Carr <[email protected]> | 2025-10-15 17:55:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-15 17:55:42 -0500 |
| commit | a739e4c5f4f6fbfe269b2243047fdcda1d487cb0 (patch) | |
| tree | 479eca9a26bf92b64a2f66d03324098a5bd689f4 /doRebuild.go | |
| parent | 2daf0189f628f7214cdc9295f898c355636ef9a3 (diff) | |
handles forge running for the first time
Diffstat (limited to 'doRebuild.go')
| -rw-r--r-- | doRebuild.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
