mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
96ea5b1d3d
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
161 B
JavaScript
5 lines
161 B
JavaScript
const [, errorInfo] = Deno[Deno.internal].core.evalContext(
|
|
'throw new DOMException("foo")',
|
|
new URL("..", import.meta.url).href,
|
|
);
|
|
console.log(errorInfo);
|