Skip to content

Commit

Permalink
fix: don't update env in example builds?
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoust committed Oct 3, 2024
1 parent a26f06e commit 6977a7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ func main() {
panic(err)
}

call := janet.CallBytes(buffer[:n])
call.Options.UpdateEnv = false
_, err = server.ExecuteCall(
context.Background(),
client,
janet.CallBytes(buffer[:n]),
call,
)
client.Cancel()
if err != nil {
Expand Down

0 comments on commit 6977a7a

Please sign in to comment.