Skip to content

Commit

Permalink
Update internal/ext/wasm/wasm.go
Browse files Browse the repository at this point in the history
Co-authored-by: Anuraag Agrawal <[email protected]>
  • Loading branch information
kyleconroy and anuraaga authored Dec 6, 2023
1 parent 7517d03 commit 89f4d8b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/ext/wasm/wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,7 @@ func (r *Runner) Invoke(ctx context.Context, method string, args any, reply any,
}

// Print WASM stdout
stdoutBlob, err := io.ReadAll(&stdout)
if err != nil {
return fmt.Errorf("read file: %w", err)
}
stdoutBlob := stdout.Bytes()

resp, ok := reply.(protoreflect.ProtoMessage)
if !ok {
Expand Down

0 comments on commit 89f4d8b

Please sign in to comment.