summaryrefslogtreecommitdiff
path: root/ext/fs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fs')
-rw-r--r--ext/fs/30_fs.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/ext/fs/30_fs.js b/ext/fs/30_fs.js
index 48e09c032..c8e19ac75 100644
--- a/ext/fs/30_fs.js
+++ b/ext/fs/30_fs.js
@@ -1,6 +1,6 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-import { core, internals, primordials } from "ext:core/mod.js";
+import { core, primordials } from "ext:core/mod.js";
const {
isDate,
internalRidSymbol,
@@ -581,15 +581,6 @@ class FsFile {
}
}
- get rid() {
- internals.warnOnDeprecatedApi(
- "Deno.FsFile.rid",
- new Error().stack,
- "Use `Deno.FsFile` methods directly instead.",
- );
- return this.#rid;
- }
-
write(p) {
return write(this.#rid, p);
}