0
0
mirror of https://github.com/thegeeklab/wp-git-clone.git synced 2024-11-22 00:10:39 +00:00

fix: disable command output while setting ssh key

This commit is contained in:
Robert Kaussow 2024-05-06 22:45:33 +02:00
parent 6ac87de468
commit d3410de2f1
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -61,7 +61,10 @@ func (r *Repository) ConfigSSHCommand(sshKey string) *types.Cmd {
"ssh -i " + sshKey, "ssh -i " + sshKey,
} }
return &types.Cmd{ cmd := &types.Cmd{
Cmd: execabs.Command(gitBin, args...), Cmd: execabs.Command(gitBin, args...),
} }
cmd.SetTrace(false)
return cmd
} }