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.
sourcekitd_register_plugin_path
1 parent 49ed912 commit 05df558Copy full SHA for 05df558
Sources/SourceKitD/DynamicallyLoadedSourceKitD.swift
@@ -145,7 +145,9 @@ package actor DynamicallyLoadedSourceKitD: SourceKitD {
145
self.pluginApiResult = Result(catching: { try sourcekitd_plugin_api_functions_t(dlhandle) })
146
self.servicePluginApiResult = Result(catching: { try sourcekitd_service_plugin_api_functions_t(dlhandle) })
147
148
- api.register_plugin_path?(pluginPaths?.clientPlugin.path, pluginPaths?.servicePlugin.path)
+ if let pluginPaths {
149
+ api.register_plugin_path?(pluginPaths.clientPlugin.path, pluginPaths.servicePlugin.path)
150
+ }
151
if initialize {
152
self.api.initialize()
153
}
0 commit comments