mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Fix merge conflict
https://github.com/swiftlang/sourcekit-lsp/pull/1824 and https://github.com/swiftlang/sourcekit-lsp/pull/1832 raced.
This commit is contained in:
@@ -315,7 +315,10 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
|
||||
validating: projectRoot.appendingPathComponent(".build").appendingPathComponent("index-build").filePath
|
||||
)
|
||||
} else if let scratchDirectory = options.swiftPMOrDefault.scratchPath,
|
||||
let scratchDirectoryPath = try? AbsolutePath(validating: scratchDirectory, relativeTo: AbsolutePath(projectRoot))
|
||||
let scratchDirectoryPath = try? AbsolutePath(
|
||||
validating: scratchDirectory,
|
||||
relativeTo: AbsolutePath(validating: projectRoot.filePath)
|
||||
)
|
||||
{
|
||||
location.scratchDirectory = scratchDirectoryPath
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user