diff options
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r-- | runtime/js/99_main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index a0f059603..3a37abeab 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -25,6 +25,7 @@ delete Object.prototype.__proto__; PromisePrototypeThen, TypeError, } = window.__bootstrap.primordials; + const infra = window.__bootstrap.infra; const util = window.__bootstrap.util; const eventTarget = window.__bootstrap.eventTarget; const globalInterfaces = window.__bootstrap.globalInterfaces; @@ -705,7 +706,7 @@ delete Object.prototype.__proto__; ObjectFreeze(globalThis.Deno.core); } else { delete globalThis.Deno; - util.assert(globalThis.Deno === undefined); + infra.assert(globalThis.Deno === undefined); } } |