Skip to content

Commit

Permalink
feat(dagger/main.go): add --plaintext flag to execCmd for improved co…
Browse files Browse the repository at this point in the history
…mmand execution

The addition of the `--plaintext` flag enhances the command execution by
ensuring that the output is not formatted, which can be useful for
debugging or when the command is expected to handle plain text input.
  • Loading branch information
cybersiddhu committed Oct 28, 2024
1 parent c54b0ce commit 72d2c0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pulumi-ops/dagger/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ func (pmo *PulumiOps) DeployFrontendThroughGithub(
for idx := range strings.Split(pload.Application, ":") {
execCmd = append(
execCmd,
"--plaintext",
fmt.Sprintf("'properties.apps[%d].tag'", idx),
pload.DockerImageTag,
)
Expand Down

0 comments on commit 72d2c0e

Please sign in to comment.