fix: linter errors

This commit is contained in:
Xiaohan-Tian
2026-05-01 14:36:56 -07:00
parent 9be96cd957
commit cd90dc1c99
18 changed files with 90 additions and 80 deletions
+1 -2
View File
@@ -19,10 +19,9 @@ class MockFileSystemFileHandle {
async createWritable() {
const stream = new MockFileSystemWritableFileStream();
// When stream closes, update our content
const self = this;
const origClose = stream.close.bind(stream);
stream.close = async () => {
self._content = stream.data;
this._content = stream.data;
await origClose();
};
return stream;