From 269384709e442fbdcd425e9a093c558aa62dbebe Mon Sep 17 00:00:00 2001 From: Chris Dickinson Date: Thu, 21 Nov 2024 12:05:43 -0800 Subject: [PATCH] fix: typo in WASI error message (s/wasiEnabled/useWasi/g) --- src/foreground-plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/foreground-plugin.ts b/src/foreground-plugin.ts index ef152e9..8834b23 100644 --- a/src/foreground-plugin.ts +++ b/src/foreground-plugin.ts @@ -193,7 +193,7 @@ async function instantiateModule( } if (!opts.wasiEnabled) { - throw new Error('WASI is not enabled; see the "wasiEnabled" plugin option'); + throw new Error('WASI is not enabled; see the "useWasi" plugin option'); } if (wasi === null) {