File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,9 +215,6 @@ package final actor SemanticIndexManager {
215
215
if inProgressPreparationTasks. values. contains ( where: { $0. purpose == . forEditorFunctionality } ) {
216
216
return . preparingFileForEditorFunctionality
217
217
}
218
- if !scheduleIndexingTasks. isEmpty {
219
- return . schedulingIndexing
220
- }
221
218
let preparationTasks = inProgressPreparationTasks. mapValues { inProgressTask in
222
219
return inProgressTask. task. isExecuting ? IndexTaskStatus . executing : IndexTaskStatus . scheduled
223
220
}
@@ -230,6 +227,9 @@ package final actor SemanticIndexManager {
230
227
}
231
228
}
232
229
if preparationTasks. isEmpty && indexTasks. isEmpty {
230
+ if !scheduleIndexingTasks. isEmpty {
231
+ return . schedulingIndexing
232
+ }
233
233
return . upToDate
234
234
}
235
235
return . indexing( preparationTasks: preparationTasks, indexTasks: indexTasks)
You can’t perform that action at this time.
0 commit comments