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) {