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 943821c commit 183ea7eCopy full SHA for 183ea7e
Sources/SKCore/CompilationDatabase.swift
@@ -118,10 +118,7 @@ extension FixedCompilationDatabase {
118
/// returns: `nil` if `compile_flags.txt` was not found
119
public init?(directory: AbsolutePath, _ fileSystem: FileSystem = localFileSystem) throws {
120
let path = directory.appending(component: "compile_flags.txt")
121
- guard let database = try Self(file: path, fileSystem) else {
122
- return nil
123
- }
124
- self = database
+ try self.init(file: path, fileSystem)
125
}
126
127
/// Loads the compilation database from `file`
0 commit comments