Skip to content

Commit e1017a4

Browse files
GeorgeLyonahoppen
andauthored
Update Sources/SKCore/CompilationDatabase.swift
Co-authored-by: Alex Hoppen <[email protected]>
1 parent 538aeb9 commit e1017a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SKCore/CompilationDatabase.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ public func tryLoadCompilationDatabase(
7575
_ fileSystem: FileSystem = localFileSystem
7676
) -> CompilationDatabase? {
7777
let searchPaths =
78-
try! additionalSearchPaths + [
78+
additionalSearchPaths + [
7979
// These default search paths match the behavior of `clangd`
80-
RelativePath(validating: "."),
81-
RelativePath(validating: "build"),
80+
try! RelativePath(validating: "."),
81+
try! RelativePath(validating: "build"),
8282
]
8383
return
8484
try! searchPaths

0 commit comments

Comments
 (0)