summaryrefslogtreecommitdiff
path: root/ext/fs/30_fs.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-26 20:04:07 +0100
committerGitHub <noreply@github.com>2024-01-26 14:04:07 -0500
commit942fb5e0388eab02f98c02541a3f90053afd59d1 (patch)
treeaf1cd1f358a37c8eab15c1a3ef7f3ee1be9548b6 /ext/fs/30_fs.js
parent9ed713153cf357dbf103dac2b8912729b4d10186 (diff)
chore: upgrade deno_core (#22124)
Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'ext/fs/30_fs.js')
-rw-r--r--ext/fs/30_fs.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/fs/30_fs.js b/ext/fs/30_fs.js
index 0a3e1ceb9..35a9d304b 100644
--- a/ext/fs/30_fs.js
+++ b/ext/fs/30_fs.js
@@ -3,6 +3,7 @@
import { core, internals, primordials } from "ext:core/mod.js";
const {
isDate,
+ internalRidSymbol,
} = core;
const {
op_fs_chdir,
@@ -655,14 +656,14 @@ function create(path) {
}
class FsFile {
- [SymbolFor("Deno.internal.rid")] = 0;
+ [internalRidSymbol] = 0;
#rid = 0;
#readable;
#writable;
constructor(rid, symbol) {
- this[SymbolFor("Deno.internal.rid")] = rid;
+ this[internalRidSymbol] = rid;
this.#rid = rid;
if (!symbol || symbol !== SymbolFor("Deno.internal.FsFile")) {
internals.warnOnDeprecatedApi(