diff options
Diffstat (limited to 'main.go')
| -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)) |
