hmm. move this to forge

This commit is contained in:
Jeff Carr 2024-12-15 22:53:01 -06:00
parent 279182ab62
commit 04f3fa193a
1 changed files with 3 additions and 0 deletions

View File

@ -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))