BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499)

Towards #22079

---------

Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
This commit is contained in:
Asher Gomez 2024-09-11 07:19:34 +10:00 committed by GitHub
parent f9007d3386
commit a69b1e699e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 38 additions and 44 deletions

View file

@ -783,7 +783,6 @@ function bootstrapMainRuntime(runtimeOptions, warmup = false) {
}
if (internals.future) {
delete globalThis.window;
delete Deno.FsFile.prototype.rid;
}
} else {
// Warmup
@ -930,10 +929,6 @@ function bootstrapWorkerRuntime(
nodeDebug,
});
}
if (internals.future) {
delete Deno.FsFile.prototype.rid;
}
} else {
// Warmup
return;