Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Aug 25, 2023
1 parent 280b3f2 commit 4b5e503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async function load(module, importObject) {
}

export function format(input) {
const [err, result] = wasm.format(input);
const [err, result] = wasm.instance.format(input);
if (err) {
throw new Error(result);
}
Expand Down

0 comments on commit 4b5e503

Please sign in to comment.