diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-03-14 16:47:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 16:47:09 -0400 |
commit | 96ea5b1d3d7b4ddec386d8708dc8a01c5fa946e9 (patch) | |
tree | 6c0209413506bce00494dafda93f7c9026e917b6 /cli/tests/testdata/run/eval_context_throw_dom_exception.js | |
parent | eb990efcce1e5390e4ed76b858c05c6f9b3b6c11 (diff) |
refactor: deno_core not using std::env::current_dir (#18173)
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
Diffstat (limited to 'cli/tests/testdata/run/eval_context_throw_dom_exception.js')
-rw-r--r-- | cli/tests/testdata/run/eval_context_throw_dom_exception.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/testdata/run/eval_context_throw_dom_exception.js b/cli/tests/testdata/run/eval_context_throw_dom_exception.js index 31baeedfc..99eaa0f4a 100644 --- a/cli/tests/testdata/run/eval_context_throw_dom_exception.js +++ b/cli/tests/testdata/run/eval_context_throw_dom_exception.js @@ -1,4 +1,5 @@ const [, errorInfo] = Deno[Deno.internal].core.evalContext( 'throw new DOMException("foo")', + new URL("..", import.meta.url).href, ); console.log(errorInfo); |