From 81eeaca959fda04f6482f5aaf2d37f0fa130dd29 Mon Sep 17 00:00:00 2001 From: Andy Feller Date: Mon, 10 Feb 2025 17:24:43 -0500 Subject: [PATCH] Align no default repo message with other uses --- context/context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/context/context.go b/context/context.go index e3b84e6b1..7374e02bb 100644 --- a/context/context.go +++ b/context/context.go @@ -99,13 +99,13 @@ func (r *ResolvedRemotes) BaseRepo(io *iostreams.IOStreams) (ghrepo.Interface, e cs := io.ColorScheme() 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()) fmt.Fprintln(io.Out) 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) {