mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-06 18:24:36 +01:00
Migrate appendingPathComponent to appending(component:)
`appending(component:)` is the more modern API and can take multiple path components at the same time.
This commit is contained in:
@@ -93,7 +93,7 @@ package actor JSONCompilationDatabaseBuildServer: BuiltInBuildServer {
|
||||
}
|
||||
|
||||
package var indexDatabasePath: URL? {
|
||||
indexStorePath?.deletingLastPathComponent().appendingPathComponent("IndexDatabase")
|
||||
indexStorePath?.deletingLastPathComponent().appending(component: "IndexDatabase")
|
||||
}
|
||||
|
||||
package nonisolated var supportsPreparationAndOutputPaths: Bool { false }
|
||||
|
||||
Reference in New Issue
Block a user