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:
parent
e41fbf09f7
commit
58f41c9fc9
1 changed files with 0 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue