diff --git a/pkg/cmd/browse/browse.go b/pkg/cmd/browse/browse.go index 764bfdfd0..f6944c88b 100644 --- a/pkg/cmd/browse/browse.go +++ b/pkg/cmd/browse/browse.go @@ -26,6 +26,7 @@ func openInBrowser(cmd *cobra.Command, f *cmdutil.Factory) { baseRepo, err := f.BaseRepo() if err != nil { fmt.Println("error") + return } // ATTN: add into the empty string where you want to go within the repo repoUrl := ghrepo.GenerateRepoURL(baseRepo, "")