summaryrefslogtreecommitdiff
path: root/ext/net/02_tls.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/net/02_tls.js')
-rw-r--r--ext/net/02_tls.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/net/02_tls.js b/ext/net/02_tls.js
index 4be2f08e0..a73e3ef04 100644
--- a/ext/net/02_tls.js
+++ b/ext/net/02_tls.js
@@ -1,9 +1,8 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
-const core = globalThis.Deno.core;
+import { core, primordials } from "ext:core/mod.js";
const ops = core.ops;
import { Conn, Listener } from "ext:deno_net/01_net.js";
-const primordials = globalThis.__bootstrap.primordials;
const { Number, TypeError } = primordials;
function opStartTls(args) {