diff options
author | snek <snek@deno.com> | 2024-10-16 12:30:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 10:30:19 +0000 |
commit | ea9c3ffaa240fc968832871000832eda1b92934a (patch) | |
tree | e646d5fb6ae7a84ff5889a2b5fad89e5bedcab59 /tests/unit_node/http_test.ts | |
parent | 2929d583d2f690b5a3d600296363a8ecd90440eb (diff) |
fix: node-api function call should use preamble (#26297)
`napi_call_function` should use our equiv of NAPI_PREAMBLE (`&mut Env`
instead of `*mut Env`) since it needs to set error codes based on
whether the body of the function raised a JS exception.
Fixes: https://github.com/denoland/deno/issues/26282
Diffstat (limited to 'tests/unit_node/http_test.ts')
0 files changed, 0 insertions, 0 deletions