File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ if exist "%__WasmBinaryPathWithoutExtension%.js" (
27
27
28
28
if " %__WasmBinaryExtension% " == " .wasm" (
29
29
:: Assume wasmtime is in PATH.
30
- set WASM_HOST_EXECUTABLE = wasmtime run -S http
30
+ set WASM_HOST_EXECUTABLE = wasmtime run -S http --dir=.
31
31
) else (
32
32
if " %NODEJS_EXECUTABLE% " == " " (
33
33
:: When running tests locally, assume NodeJS is in PATH.
Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ elif [ -e "${dirname}/main.mjs" ]; then
21
21
WASM_HOST_EXECUTABLE=$node
22
22
WASM_BINARY_TO_EXECUTE=" ${dirname} /main.mjs"
23
23
elif [ -e " ${dirname} /${exename} .wasm" ]; then
24
- WASM_HOST_EXECUTABLE=" wasmtime run -S http"
24
+ WASM_HOST_EXECUTABLE=" wasmtime run -S http --dir=. "
25
25
WASM_BINARY_TO_EXECUTE=" ${dirname} /${exename} .wasm"
26
26
fi
You can’t perform that action at this time.
0 commit comments