diff --git a/frontend/sync-client/src/file-operations/file-operations.ts b/frontend/sync-client/src/file-operations/file-operations.ts index b198caa..6adada5 100644 --- a/frontend/sync-client/src/file-operations/file-operations.ts +++ b/frontend/sync-client/src/file-operations/file-operations.ts @@ -145,10 +145,6 @@ export class FileOperations { await this.fs.rename(oldPath, newPath); } - public isFileEligibleForSync(path: RelativePath): boolean { - return isFileTypeMergable(path); - } - private async createParentDirectories(path: string): Promise { const components = path.split("/"); if (components.length === 1) { diff --git a/frontend/sync-client/src/sync-operations/unrestricted-syncer.ts b/frontend/sync-client/src/sync-operations/unrestricted-syncer.ts index fe268f4..4eef87a 100644 --- a/frontend/sync-client/src/sync-operations/unrestricted-syncer.ts +++ b/frontend/sync-client/src/sync-operations/unrestricted-syncer.ts @@ -356,16 +356,6 @@ export class UnrestrictedSyncer { syncSource: SyncSource, fn: () => Promise ): Promise { - if (!this.operations.isFileEligibleForSync(relativePath)) { - this.history.addHistoryEntry({ - status: SyncStatus.ERROR, - relativePath, - message: `File ${relativePath} is not eligible for syncing`, - type: syncType - }); - return; - } - this.logger.debug( `Syncing ${relativePath} (${syncSource} - ${syncType})` );