From 6137c8046d2d1bf4145a72aa634270c7aaf23341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 3 Jul 2021 16:58:08 +0200 Subject: refactor: use primordials in runtime/, part1 (#11241) --- runtime/js/01_errors.js | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/js/01_errors.js') diff --git a/runtime/js/01_errors.js b/runtime/js/01_errors.js index d59bd7adb..844a8872a 100644 --- a/runtime/js/01_errors.js +++ b/runtime/js/01_errors.js @@ -3,6 +3,7 @@ ((window) => { const core = window.Deno.core; + const { Error } = window.__bootstrap.primordials; const { BadResource, Interrupted } = core; class NotFound extends Error { -- cgit v1.2.3