Skip to content

Commit

Permalink
Merge branch 'improvement/repl' of github.com:ajnavarro/gno into impr…
Browse files Browse the repository at this point in the history
…ovement/repl
  • Loading branch information
ajnavarro committed Aug 10, 2023
2 parents 905d33b + 34a2024 commit ece3a06
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gnovm/pkg/repl/repl.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ func (r *Repl) handleExpression(e *ast.File) (string, error) {
r.state.machine.RunStatement(gno.S(gno.Call(gno.X(fmt.Sprintf("%s%d", executedFunc, r.state.id)))))

// Read the result from the output buffer after calling main function.

b, err := io.ReadAll(r.rw)
if err != nil {
return "", fmt.Errorf("error reading output buffer: %w", err)
Expand Down

0 comments on commit ece3a06

Please sign in to comment.