Align no default repo message with other uses
This commit is contained in:
parent
e1d1f21525
commit
81eeaca959
1 changed files with 2 additions and 2 deletions
|
|
@ -99,13 +99,13 @@ func (r *ResolvedRemotes) BaseRepo(io *iostreams.IOStreams) (ghrepo.Interface, e
|
||||||
cs := io.ColorScheme()
|
cs := io.ColorScheme()
|
||||||
|
|
||||||
fmt.Fprintf(io.ErrOut,
|
fmt.Fprintf(io.ErrOut,
|
||||||
"%s No default remote repository has been set for this directory.\n",
|
"%s No default remote repository has been set. To learn more about the default repository, run: gh repo set-default --help\n",
|
||||||
cs.FailureIcon())
|
cs.FailureIcon())
|
||||||
|
|
||||||
fmt.Fprintln(io.Out)
|
fmt.Fprintln(io.Out)
|
||||||
|
|
||||||
return nil, errors.New(
|
return nil, errors.New(
|
||||||
"please run `gh repo set-default` to select a default remote repository.\nTo learn more about the default repository, run: gh repo set-default --help")
|
"please run `gh repo set-default` to select a default remote repository.")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *ResolvedRemotes) HeadRepos() ([]*api.Repository, error) {
|
func (r *ResolvedRemotes) HeadRepos() ([]*api.Repository, error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue