Skip to content

Commit

Permalink
Missing array in transferList
Browse files Browse the repository at this point in the history
  • Loading branch information
corrideat committed Oct 28, 2023
1 parent fffcc7b commit cee6072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trusted/impl/nodejs/nodejsSandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const nodejsSandbox: ISandbox = async (
['env', Object.create(null)],
['eval', true],
['name', sandboxId],
['transferList', messageChannel.port2 as ReturnType<typeof eval>],
['transferList', [messageChannel.port2 as ReturnType<typeof eval>]],
]),
);

Expand Down

0 comments on commit cee6072

Please sign in to comment.