add '--no-progress' to the choco install args to reduce log output
This commit is contained in:
parent
fb6402f756
commit
a2f9b047a8
@ -59,7 +59,7 @@ func (a *Agent) InstallChoco() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (a *Agent) InstallWithChoco(name string) (string, error) {
|
func (a *Agent) InstallWithChoco(name string) (string, error) {
|
||||||
out, err := CMD("choco.exe", []string{"install", name, "--yes", "--force", "--force-dependencies"}, 1200, false)
|
out, err := CMD("choco.exe", []string{"install", name, "--yes", "--force", "--force-dependencies", "--no-progress"}, 1200, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
a.Logger.Errorln(err)
|
a.Logger.Errorln(err)
|
||||||
return err.Error(), err
|
return err.Error(), err
|
||||||
|
Loading…
Reference in New Issue
Block a user