diff --git a/cmd/setup.go b/cmd/setup.go index e8b8627..a3ff856 100644 --- a/cmd/setup.go +++ b/cmd/setup.go @@ -81,7 +81,7 @@ func GetPulumiUser() string { logger.Error("skip update check: " + err.Error()) } - cmd := exec.CommandContext(ctx, "pulumi", "whoami") + cmd := exec.CommandContext(ctx, "pulumi", "whoami", "--non-interactive") stdout, err := cmd.CombinedOutput() if err != nil {