Skip to content

Commit 39e7768

Browse files
committed
lint
1 parent 70e9726 commit 39e7768

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/sim/lib/knowledge/connectors/sync-engine.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,7 @@ export async function executeSync(
562562
.map((d) => d.id)
563563

564564
if (removedIds.length > 0) {
565-
const deletionRatio =
566-
existingDocs.length > 0 ? removedIds.length / existingDocs.length : 0
565+
const deletionRatio = existingDocs.length > 0 ? removedIds.length / existingDocs.length : 0
567566

568567
if (deletionRatio > 0.5 && removedIds.length > 5 && !options?.fullSync) {
569568
logger.warn(

0 commit comments

Comments
 (0)