Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 25, 2024
1 parent 60e2c39 commit 4db6576
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function calculateWasmFuncNargsFallback(functionPtr) {
} catch (e) {
// Should be a LinkError, if not we have a logic error. Raise fatal error
// so it's noisy.
if (!e instanceof WebAssembly.LinkError) {
if ((!e) instanceof WebAssembly.LinkError) {
throw e;
}
}
Expand Down

0 comments on commit 4db6576

Please sign in to comment.