summaryrefslogtreecommitdiff
path: root/cli/js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-12-05 17:11:57 +0100
committerGitHub <noreply@github.com>2022-12-05 17:11:57 +0100
commit3863aaf8ae183685759bfdae037c36d05223e06f (patch)
tree1fc2cf55dfed0c71098034c434a774694a5a6a61 /cli/js
parent55595ca1b74e07eb2365d5aec3861600e2266470 (diff)
refactor: remove references to Deno.core in bootstrap code (#16937)
Prerequisite for https://github.com/denoland/deno/pull/16881
Diffstat (limited to 'cli/js')
-rw-r--r--cli/js/40_testing.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js
index 4dd24a286..9896df34b 100644
--- a/cli/js/40_testing.js
+++ b/cli/js/40_testing.js
@@ -708,7 +708,7 @@
);
}
testDesc.origin = getTestOrigin();
- const jsError = Deno.core.destructureError(new Error());
+ const jsError = core.destructureError(new Error());
testDesc.location = {
fileName: jsError.frames[1].fileName,
lineNumber: jsError.frames[1].lineNumber,
@@ -1290,7 +1290,7 @@
stepDesc.sanitizeResources ??= desc.sanitizeResources;
stepDesc.sanitizeExit ??= desc.sanitizeExit;
stepDesc.origin = getTestOrigin();
- const jsError = Deno.core.destructureError(new Error());
+ const jsError = core.destructureError(new Error());
stepDesc.location = {
fileName: jsError.frames[1].fileName,
lineNumber: jsError.frames[1].lineNumber,