summaryrefslogtreecommitdiff
path: root/ext/node/lib.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-08-09 17:28:13 -0400
committerGitHub <noreply@github.com>2022-08-09 17:28:13 -0400
commitd6f789eb05e18dd8887e8e409736773bdf2e0e00 (patch)
treef0773fb4027dbd62a20917411d06805c88df5ecf /ext/node/lib.rs
parent1c2ec1f48f2cf9255f0a43f2ec3d15aeee081b33 (diff)
chore: temporarily disable `op_require_read_file` (#15433)
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r--ext/node/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs
index 5d6542dc5..80296a6cc 100644
--- a/ext/node/lib.rs
+++ b/ext/node/lib.rs
@@ -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");
}