escape codes in errors render v poorly in windows
This commit is contained in:
parent
5d44d9f483
commit
bb65bda62f
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue