Skip to content

Commit

Permalink
fixup! lib: move WebAssembly Web API into separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed May 6, 2022
1 parent a008f81 commit 899de1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/wasm_web_api.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const {
PromiseResolve
PromiseResolve,
} = primordials;
const {
ERR_INVALID_ARG_TYPE,
Expand All @@ -10,7 +10,7 @@ const {

let undici;
function lazyUndici() {
return undici || (undici = require('internal/deps/undici/undici'));
return undici ??= require('internal/deps/undici/undici');
}

// This is essentially an implementation of a v8::WasmStreamingCallback, except
Expand Down

0 comments on commit 899de1c

Please sign in to comment.