fix: disable command output while setting ssh key
This commit is contained in:
parent
6ac87de468
commit
d3410de2f1
|
@ -61,7 +61,10 @@ func (r *Repository) ConfigSSHCommand(sshKey string) *types.Cmd {
|
|||
"ssh -i " + sshKey,
|
||||
}
|
||||
|
||||
return &types.Cmd{
|
||||
cmd := &types.Cmd{
|
||||
Cmd: execabs.Command(gitBin, args...),
|
||||
}
|
||||
cmd.SetTrace(false)
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue