From 4c5ce9088328b620847f22b1161a41261675f8c9 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Wed, 24 Jan 2024 15:08:59 +1100 Subject: chore: update `Deno.{fsync,fsyncSync}()` deprecation notices (#22071) To align with other deprecations. --- ext/fs/30_fs.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'ext/fs') 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); } -- cgit v1.2.3