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:
parent
55595ca1b7
commit
3863aaf8ae
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue