fix(stderr): add stderr to brew command output

This commit is contained in:
DataHearth 2022-05-23 13:08:43 +02:00
parent 1cfd84b8cf
commit fab9533da1
No known key found for this signature in database
GPG Key ID: E88FD356ACC5F3C4
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ func installBrewPkgs(pkgs []string) error {
cmd.Args = append(cmd.Args, pkgs...)
color.Blue("## Installing Homebrew packages")
cmd.Stderr = os.Stderr
if err := cmd.Run(); err != nil {
PrintError("brew command failed: %v", err)
return err