mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
return empty reply instead of ignoring targets request
This commit is contained in:
@@ -60,7 +60,7 @@ extension CompilationDatabaseBuildSystem: BuildSystem {
|
||||
/// We don't support change watching.
|
||||
public func unregisterForChangeNotifications(for: URL) {}
|
||||
|
||||
public func buildTargets(reply: @escaping ([BuildTarget]?) -> Void) { }
|
||||
public func buildTargets(reply: @escaping ([BuildTarget]?) -> Void) { reply(nil) }
|
||||
|
||||
func database(for url: URL) -> CompilationDatabase? {
|
||||
if let path = try? AbsolutePath(validating: url.path) {
|
||||
|
||||
Reference in New Issue
Block a user