mirror of
https://github.com/denoland/deno.git
synced 2025-02-19 11:52:52 -05:00

This commit changes "deno_core" to not rely on implicitly calling "std::env::current_dir()" when resolving module specifiers using APIs from "deno_core::modules_specifier". Supersedes https://github.com/denoland/deno/pull/15454
5 lines
220 B
TypeScript
5 lines
220 B
TypeScript
// @ts-expect-error "Deno[Deno.internal].core" is not a public interface
|
|
Deno[Deno.internal].core.evalContext(
|
|
"(async () => console.log(await import('./subdir/mod4.js')))()",
|
|
new URL("..", import.meta.url).href,
|
|
);
|