diff options
| author | Jeff Carr <[email protected]> | 2024-12-15 22:53:01 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-15 22:53:01 -0600 |
| commit | 04f3fa193ab24b84267fe8949a0c75754e627669 (patch) | |
| tree | c39d99ae306e4984d3861b37802e423e0a4539b9 | |
| parent | 279182ab62e3cc51e90372a8a570e710c95d752a (diff) | |
hmm. move this to forgev0.23.3
| -rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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)) |
