aboutsummaryrefslogtreecommitdiffstats
path: root/commands/env.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/env.go')
-rw-r--r--commands/env.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/env.go b/commands/env.go
index 0bf32a1a..c2128780 100644
--- a/commands/env.go
+++ b/commands/env.go
@@ -14,7 +14,7 @@ import (
"github.com/MichaelMure/git-bug/util/interrupt"
)
-const gitBugNamespace = "git-bug"
+const GitBugNamespace = "git-bug"
// Env is the environment of a command
type Env struct {
@@ -70,7 +70,7 @@ func loadRepo(env *Env) func(*cobra.Command, []string) error {
return err
}
- env.repo, err = repository.OpenGoGitRepo(cwd, gitBugNamespace, []repository.ClockLoader{bug.ClockLoader})
+ env.repo, err = repository.OpenGoGitRepo(cwd, GitBugNamespace, []repository.ClockLoader{bug.ClockLoader})
if err == repository.ErrNotARepo {
return fmt.Errorf("%s must be run from within a git repo", rootCommandName)
}