From bb65bda62f69100473079a0db0db29a993dc67fe Mon Sep 17 00:00:00 2001 From: vilmibm Date: Fri, 28 Feb 2020 10:28:36 -0600 Subject: [PATCH] escape codes in errors render v poorly in windows --- command/repo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/repo.go b/command/repo.go index c317a553d..5dc4ffcb9 100644 --- a/command/repo.go +++ b/command/repo.go @@ -170,8 +170,8 @@ func repoFork(cmd *cobra.Command, args []string) error { created_ago := Since(forkedRepo.CreatedAt) if created_ago > time.Minute { s.Stop() - fmt.Fprintf(out, redX+" ") - return fmt.Errorf("%s already exists", utils.Bold(ghrepo.FullName(possibleFork))) + fmt.Fprint(out, redX+" ") + return fmt.Errorf("%s already exists", ghrepo.FullName(possibleFork)) } s.Stop()