mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Allow dependency updates in the index-build folder
When we have background indexing enabled, SourceKit-LSP manages the dependencies. We should thus allow it to update them, eg. after `Package.resolved` was updated.
This commit is contained in:
@@ -329,7 +329,7 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
|
||||
}
|
||||
|
||||
var configuration = WorkspaceConfiguration.default
|
||||
configuration.skipDependenciesUpdates = true
|
||||
configuration.skipDependenciesUpdates = !options.backgroundIndexingOrDefault
|
||||
|
||||
self.swiftPMWorkspace = try Workspace(
|
||||
fileSystem: localFileSystem,
|
||||
|
||||
Reference in New Issue
Block a user