Skip to content

Commit

Permalink
add message for out of repo usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Dedac committed May 19, 2023
1 parent 6630001 commit 372af55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ func _main() error {
repo, err = repository.Parse(*repoOverride)
} else {
repo, err = repository.Current()
if err != nil {
log.Fatal("If you are not in a repository, you must specify one with -R, if you are installing for an org or an enterprise you will still need a repository to get a host")
}
}
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 372af55

Please sign in to comment.