Skip to content

Commit 30645ec

Browse files
committed
update: remove unnecessary check
1 parent 08debe8 commit 30645ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/com/fpf/smartscansdk/core/embeddings/FileEmbeddingStore.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class FileEmbeddingStore(
142142
withContext(Dispatchers.IO) {
143143
if (embeddings.isEmpty()) return@withContext 0
144144

145-
if (idToFileOffsetIndex.isEmpty() && file.exists()) {
145+
if (idToFileOffsetIndex.isEmpty()) {
146146
load()
147147
}
148148

0 commit comments

Comments
 (0)