diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-01-24 15:08:59 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 09:38:59 +0530 |
commit | 4c5ce9088328b620847f22b1161a41261675f8c9 (patch) | |
tree | 46c3a29b6cb3c0d6a5d5dd74d7da5163789d3258 /ext/fs/30_fs.js | |
parent | 5a4d69354c3c240a0ea42804b712942f1c30e744 (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.js | 10 |
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); } |