1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 16:49:18 -05:00

refactor: remove references to Deno.core in bootstrap code (#16937)

Prerequisite for https://github.com/denoland/deno/pull/16881
This commit is contained in:
Bartek Iwańczuk 2022-12-05 17:11:57 +01:00 committed by GitHub
parent 55595ca1b7
commit 3863aaf8ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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,

View file

@ -353,7 +353,7 @@
}
}
const isDenoDirPackage = Deno.core.ops.op_require_is_deno_dir_package(
const isDenoDirPackage = core.ops.op_require_is_deno_dir_package(
curPath,
);
const isRelative = ops.op_require_is_request_relative(