Skip to content

Commit

Permalink
fix: typo in WASI error message (s/wasiEnabled/useWasi/g)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdickinson committed Nov 21, 2024
1 parent 0bc6ef4 commit 2693847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/foreground-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2693847

Please sign in to comment.