Skip to content

Commit 247acf6

Browse files
authored
Merge pull request swiftlang#1874 from ahoppen/allow-dependency-updates
Allow dependency updates in the `index-build` folder
2 parents 881f0f5 + ddbd654 commit 247acf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/BuildSystemIntegration/SwiftPMBuildSystem.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
329329
}
330330

331331
var configuration = WorkspaceConfiguration.default
332-
configuration.skipDependenciesUpdates = true
332+
configuration.skipDependenciesUpdates = !options.backgroundIndexingOrDefault
333333

334334
self.swiftPMWorkspace = try Workspace(
335335
fileSystem: localFileSystem,

0 commit comments

Comments
 (0)