mirror of
https://github.com/denoland/deno.git
synced 2025-01-22 06:09:25 -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();
|
testDesc.origin = getTestOrigin();
|
||||||
const jsError = Deno.core.destructureError(new Error());
|
const jsError = core.destructureError(new Error());
|
||||||
testDesc.location = {
|
testDesc.location = {
|
||||||
fileName: jsError.frames[1].fileName,
|
fileName: jsError.frames[1].fileName,
|
||||||
lineNumber: jsError.frames[1].lineNumber,
|
lineNumber: jsError.frames[1].lineNumber,
|
||||||
|
@ -1290,7 +1290,7 @@
|
||||||
stepDesc.sanitizeResources ??= desc.sanitizeResources;
|
stepDesc.sanitizeResources ??= desc.sanitizeResources;
|
||||||
stepDesc.sanitizeExit ??= desc.sanitizeExit;
|
stepDesc.sanitizeExit ??= desc.sanitizeExit;
|
||||||
stepDesc.origin = getTestOrigin();
|
stepDesc.origin = getTestOrigin();
|
||||||
const jsError = Deno.core.destructureError(new Error());
|
const jsError = core.destructureError(new Error());
|
||||||
stepDesc.location = {
|
stepDesc.location = {
|
||||||
fileName: jsError.frames[1].fileName,
|
fileName: jsError.frames[1].fileName,
|
||||||
lineNumber: jsError.frames[1].lineNumber,
|
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,
|
curPath,
|
||||||
);
|
);
|
||||||
const isRelative = ops.op_require_is_request_relative(
|
const isRelative = ops.op_require_is_request_relative(
|
||||||
|
|
Loading…
Add table
Reference in a new issue