File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,17 +51,17 @@ func (r *RootCmd) gitAskpass() *clibase.Cmd {
51
51
}
52
52
if token .URL != "" {
53
53
if err := openURL (inv , token .URL ); err == nil {
54
- cliui .Infof (inv .Stdout , "Your browser has been opened to authenticate with Git:\n \n \t %s\n \n " , token .URL )
54
+ cliui .Infof (inv .Stderr , "Your browser has been opened to authenticate with Git:\n \n \t %s\n \n " , token .URL )
55
55
} else {
56
- cliui .Infof (inv .Stdout , "Open the following URL to authenticate with Git:\n \n \t %s\n \n " , token .URL )
56
+ cliui .Infof (inv .Stderr , "Open the following URL to authenticate with Git:\n \n \t %s\n \n " , token .URL )
57
57
}
58
58
59
59
for r := retry .New (250 * time .Millisecond , 10 * time .Second ); r .Wait (ctx ); {
60
60
token , err = client .GitAuth (ctx , host , true )
61
61
if err != nil {
62
62
continue
63
63
}
64
- cliui .Infof (inv .Stdout , "You've been authenticated with Git!\n " )
64
+ cliui .Infof (inv .Stderr , "You've been authenticated with Git!\n " )
65
65
break
66
66
}
67
67
}
You can’t perform that action at this time.
0 commit comments