We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 538aeb9 commit e1017a4Copy full SHA for e1017a4
Sources/SKCore/CompilationDatabase.swift
@@ -75,10 +75,10 @@ public func tryLoadCompilationDatabase(
75
_ fileSystem: FileSystem = localFileSystem
76
) -> CompilationDatabase? {
77
let searchPaths =
78
- try! additionalSearchPaths + [
+ additionalSearchPaths + [
79
// These default search paths match the behavior of `clangd`
80
- RelativePath(validating: "."),
81
- RelativePath(validating: "build"),
+ try! RelativePath(validating: "."),
+ try! RelativePath(validating: "build"),
82
]
83
return
84
try! searchPaths
0 commit comments