mirror of
https://github.com/thegeeklab/wp-git-clone.git
synced 2024-11-22 10:20:38 +00:00
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,
|
"ssh -i " + sshKey,
|
||||||
}
|
}
|
||||||
|
|
||||||
return &types.Cmd{
|
cmd := &types.Cmd{
|
||||||
Cmd: execabs.Command(gitBin, args...),
|
Cmd: execabs.Command(gitBin, args...),
|
||||||
}
|
}
|
||||||
|
cmd.SetTrace(false)
|
||||||
|
|
||||||
|
return cmd
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user