From 04f3fa193ab24b84267fe8949a0c75754e627669 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 15 Dec 2024 22:53:01 -0600 Subject: [PATCH] hmm. move this to forge --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index f205357..4c8ea02 100644 --- a/main.go +++ b/main.go @@ -117,6 +117,9 @@ func main() { basedir = strings.Trim(basedir, "/") me.startRepo = me.forge.Repos.FindByGoPath(basedir) + // todo: add this to forgepb + // me.startRepo = me.forge.FindWorkingDirRepo() + if me.startRepo == nil { msg := fmt.Sprint("Can not run if pwd is not a repo", basedir) badExit(errors.New(msg))