Skip to content

Commit 8f408c5

Browse files
authored
Merge pull request #15 from ruckus-voxi/bugfix/pulumi-user-auth
bugfix: add non-interactive flag to pulumi whoami command
2 parents 7aad160 + 22e1ea8 commit 8f408c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/setup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func GetPulumiUser() string {
8181
logger.Error("skip update check: " + err.Error())
8282
}
8383

84-
cmd := exec.CommandContext(ctx, "pulumi", "whoami")
84+
cmd := exec.CommandContext(ctx, "pulumi", "whoami", "--non-interactive")
8585

8686
stdout, err := cmd.CombinedOutput()
8787
if err != nil {

0 commit comments

Comments
 (0)