mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
chore: temporarily disable op_require_read_file
(#15433)
This commit is contained in:
parent
1c2ec1f48f
commit
d6f789eb05
3 changed files with 4 additions and 4 deletions
|
@ -173,6 +173,7 @@ fn native_modules_as_global_vars() {
|
|||
assert!(out.contains("true"));
|
||||
}
|
||||
|
||||
#[ignore] // todo(dsherret): re-enable
|
||||
#[test]
|
||||
fn ext_node_cjs_execution() {
|
||||
let (out, _err) = util::run_and_collect_output_with_args(
|
||||
|
|
|
@ -476,7 +476,7 @@
|
|||
if (typeof options === "object" && options !== null) {
|
||||
if (ArrayIsArray(options.paths)) {
|
||||
const isRelative = core.opSync(
|
||||
"op_require_specifier_is_relative",
|
||||
"op_require_is_request_relative",
|
||||
request,
|
||||
);
|
||||
|
||||
|
|
|
@ -311,7 +311,6 @@ fn op_require_try_self(
|
|||
}
|
||||
|
||||
#[op]
|
||||
fn op_require_read_file(filename: String) -> Result<String, AnyError> {
|
||||
let contents = std::fs::read_to_string(filename)?;
|
||||
Ok(contents)
|
||||
fn op_require_read_file(_filename: String) -> Result<String, AnyError> {
|
||||
todo!("not implemented");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue