Skip to content

Commit 2b4fc8f

Browse files
committed
fixed issue with wasm not detecting undefined env
1 parent 51ca4e0 commit 2b4fc8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/wasm/src/WasmWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class WasmWrapper implements Wrapper {
164164
? args
165165
: msgpackEncode(args)
166166
: EMPTY_ENCODED_OBJECT,
167-
env: options.env ? msgpackEncode(options.env) : EMPTY_ENCODED_OBJECT,
167+
env: options.env ? msgpackEncode(options.env) : new Uint8Array(),
168168
resolutionContext: options.resolutionContext,
169169
};
170170

0 commit comments

Comments
 (0)