Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
liamawhite committed Aug 28, 2024
1 parent cf2253f commit 36a7427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/resource_local_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (r *LocalCommandResource) RunCommand(ctx context.Context, data *LocalComman
tflog.Warn(ctx, fmt.Sprintf("ATTEMPT #%d exit_code=%d", attempt, err.(*exec.ExitError).ExitCode()))
data.Stdout = types.StringValue(stdout.String())
data.Stderr = types.StringValue(stderr.String())
tflog.Warn(ctx, fmt.Sprintf("Command string: sh -c %s", data.Command.ValueString()))
tflog.Warn(ctx, fmt.Sprintf("Command string: sh -c %s", data.Command.ValueString()))
tflog.Warn(ctx, fmt.Sprintf("Command stdout: %s", stdout.String()))
tflog.Warn(ctx, fmt.Sprintf("Command stderr: %s", stderr.String()))
return false
Expand Down

0 comments on commit 36a7427

Please sign in to comment.