Merge pull request #63 from ente-io/fix-watch-folder-issues

Fix watch folder issues
This commit is contained in:
Manav 2022-09-09 11:38:50 +05:30 committed by GitHub
commit 052e5cd0e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ export const getFileStream = async (filePath: string) => {
controller.close(); controller.close();
await fs.close(file); await fs.close(file);
} else { } else {
controller.enqueue(buff); controller.enqueue(buff.slice(0, bytesRead));
} }
} catch (e) { } catch (e) {
await fs.close(file); await fs.close(file);

2
ui

@ -1 +1 @@
Subproject commit 09864ffdbe37f0d4ec81c218a19ec3d092dd3038 Subproject commit fba290846622945ecb29889b471c5fa141054c64