minor fix
This commit is contained in:
parent
dd98c7f51f
commit
624f19764d
1 changed files with 1 additions and 2 deletions
|
|
@ -78,8 +78,6 @@ func NewCmdRename(f *cmdutil.Factory, runf func(*RenameOptions) error) *cobra.Co
|
|||
}
|
||||
|
||||
func renameRun(opts *RenameOptions) error {
|
||||
|
||||
cs := opts.IO.ColorScheme()
|
||||
httpClient, err := opts.HttpClient()
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
@ -151,6 +149,7 @@ func renameRun(opts *RenameOptions) error {
|
|||
}
|
||||
|
||||
if opts.IO.IsStdoutTTY() {
|
||||
cs := opts.IO.ColorScheme()
|
||||
fmt.Fprintf(opts.IO.Out, "%s Renamed repository %s\n", cs.SuccessIcon(), input.RepoOwner+"/"+input.Name)
|
||||
if opts.newRepoSelector == "" {
|
||||
fmt.Fprintf(opts.IO.Out, "%s Updated the %q remote", cs.SuccessIcon(), baseRemote.Name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue