refactor: don't expose Deno[Deno.internal].core namespace (#18816)

This commit is contained in:
Bartek Iwańczuk 2023-04-26 19:57:38 +02:00 committed by GitHub
parent 2df6db36c8
commit 14aaa73c02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 95 additions and 61 deletions

View file

@ -954,7 +954,7 @@ pub async fn test_specifier(
if ps.options.trace_ops() {
worker.js_runtime.execute_script_static(
located_script_name!(),
"Deno[Deno.internal].core.enableOpCallTracing();",
"Deno[Deno.internal].enableOpCallTracing();",
)?;
}
worker.dispatch_load_event(located_script_name!())?;