summaryrefslogtreecommitdiff
path: root/ext/fs/30_fs.js
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-01-24 15:08:59 +1100
committerGitHub <noreply@github.com>2024-01-24 09:38:59 +0530
commit4c5ce9088328b620847f22b1161a41261675f8c9 (patch)
tree46c3a29b6cb3c0d6a5d5dd74d7da5163789d3258 /ext/fs/30_fs.js
parent5a4d69354c3c240a0ea42804b712942f1c30e744 (diff)
chore: update `Deno.{fsync,fsyncSync}()` deprecation notices (#22071)
To align with other deprecations.
Diffstat (limited to 'ext/fs/30_fs.js')
-rw-r--r--ext/fs/30_fs.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/fs/30_fs.js b/ext/fs/30_fs.js
index 6923741ee..d0f7a2fad 100644
--- a/ext/fs/30_fs.js
+++ b/ext/fs/30_fs.js
@@ -576,20 +576,10 @@ async function fdatasync(rid) {
}
function fsyncSync(rid) {
- internals.warnOnDeprecatedApi(
- "Deno.fsyncSync()",
- new Error().stack,
- "Use `file.syncSync()` instead.",
- );
op_fs_fsync_sync(rid);
}
async function fsync(rid) {
- internals.warnOnDeprecatedApi(
- "Deno.fsync()",
- new Error().stack,
- "Use `file.sync()` instead.",
- );
await op_fs_fsync_async(rid);
}