remove close/abort override
Release / release (push) Successful in 23s

This commit is contained in:
2026-02-15 20:22:23 -08:00
parent 1bd153de5b
commit bbd975feb6
2 changed files with 12 additions and 22 deletions
-13
View File
@@ -44,17 +44,4 @@ export default class NodeFileSystemWritableFileStream extends WritableStream imp
fs.writeSync(this.#fd, (wdata as Uint8Array), null, wsize, this.#seek_position)
this.#seek_position = pseek_position
}
async #_close() {
try {
fs.closeSync(this.#fd)
} catch { }
}
async close(): Promise<void> {
await super.close()
await this.#_close()
}
async abort(reason?: any): Promise<void> {
await super.abort(reason)
await this.#_close()
}
}