summaryrefslogtreecommitdiff
path: root/doRebuild.go
diff options
context:
space:
mode:
Diffstat (limited to 'doRebuild.go')
-rw-r--r--doRebuild.go2
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
}