Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Minor

Manav Rathie38152051cce
diff --git a/desktop/src/main/ipc.ts b/desktop/src/main/ipc.ts
index ae27824119..b99fae7173 100644
--- a/desktop/src/main/ipc.ts
+++ b/desktop/src/main/ipc.ts
@@ -41,8 +41,8 @@ import {
fsRename,
fsRm,
fsRmdir,
- fsWriteFile,
fsStatMtime,
+ fsWriteFile,
fsWriteFileViaBackup,
} from "./services/fs";
import { convertToJPEG, generateImageThumbnail } from "./services/image";
diff --git a/web/packages/gallery/services/upload.ts b/web/packages/gallery/services/upload.ts
index eb3efe1965..c9159bf100 100644
--- a/web/packages/gallery/services/upload.ts
+++ b/web/packages/gallery/services/upload.ts
@@ -223,14 +223,14 @@ export const markUploadedAndObtainProcessableItem = async (
* kept here since it is in some sense the inverse of
* {@link markUploadedAndObtainProcessableItem}.
*
- * @param item A {@link TimestampedFileSystemUploadItem}
+ * @param item A {@link TimestampedFileSystemUploadItem}.
*
* @param fsStatMtime A function that can be used to perform IPC and obtain the
* last modified time from the node side.
*
* @returns If the last modified time of the file system file pointed to by the
* given {@link item} is the same as what is recorded within the structure, then
- * return then wrapped {@link FileSystemUploadItem}, otherwise return
+ * return the wrapped {@link FileSystemUploadItem}, otherwise return
* `undefined`.
*
* In case of any errors, also return `undefined`. This is because errors are
diff --git a/web/packages/new/photos/services/ml/worker.ts b/web/packages/new/photos/services/ml/worker.ts
index 58dbe4384e..896d0e3dd7 100644
--- a/web/packages/new/photos/services/ml/worker.ts
+++ b/web/packages/new/photos/services/ml/worker.ts
@@ -184,9 +184,6 @@ export class MLWorker {
*/
onUpload(file: EnteFile, processableUploadItem: ProcessableUploadItem) {
// Add the recently uploaded file to the live indexing queue.
- //
- // We can unconditionally process it since the file is just being
- // uploaded, and so will not have any pre-existing ML data on remote.
this.liveQ.push({
file,
processableUploadItem,