summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-01-24 18:54:10 +0100
committerGitHub <noreply@github.com>2023-01-24 18:54:10 +0100
commitabd96105300a7729a4d8eb69af2e81dd6307a163 (patch)
tree75b7556f876b2a2df3e22b905922dfb11572ef6d /cli/worker.rs
parent1084027d502d54ebf256c867fe85600b295d8a06 (diff)
refactor: remove Deno.core (#16881)
This commit removes "Deno.core" namespace. It is strictly private API that has no stability guarantees, we were supposed to remove it long time ago. Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index b6ebd7930..591889ccd 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -186,7 +186,7 @@ impl CliMainWorker {
if self.ps.options.trace_ops() {
self.worker.js_runtime.execute_script(
&located_script_name!(),
- "Deno.core.enableOpCallTracing();",
+ "Deno[Deno.internal].core.enableOpCallTracing();",
)?;
}
@@ -231,7 +231,7 @@ impl CliMainWorker {
self.worker.execute_script(
&located_script_name!(),
- "Deno.core.enableOpCallTracing();",
+ "Deno[Deno.internal].core.enableOpCallTracing();",
)?;
if mode != TestMode::Documentation {