1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 04:52:26 -05:00

fix(node/fs):delete unnecessary code

This commit is contained in:
张瑞 2024-11-27 23:24:49 +08:00
parent e41fbf09f7
commit 58f41c9fc9

View file

@ -149,9 +149,6 @@ export class FileHandle extends EventEmitter {
stat(options?: { bigint: boolean }): Promise<Stats | BigIntStats> {
return fsCall(promises.fstat, this, options);
}
sync(): Promise<void> {
return promises.fsync(this.fd);
}
}
function fsCall(fn, handle, ...args) {