Merge pull request #2474 from rockbruno/patch-2

Fix inverted log check when updating the index store
This commit is contained in:
Alex Hoppen
2026-02-09 11:26:23 +01:00
committed by GitHub

View File

@@ -261,7 +261,7 @@ package struct UpdateIndexStoreTaskDescription: IndexTaskDescription {
mainFile: fileInfo.mainFile,
outputPath: fileInfo.outputPath
)
if !hasUpToDateUnit {
if hasUpToDateUnit {
logger.debug("Not indexing \(fileInfo.file.forLogging) because index has an up-to-date unit")
// We consider a file's index up-to-date if we have any up-to-date unit. Changing build settings does not
// invalidate the up-to-date status of the index.