mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Merge pull request #2474 from rockbruno/patch-2
Fix inverted log check when updating the index store
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user