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 a4eb4d8 commit cfe366aCopy full SHA for cfe366a
Sources/SWBQNXPlatform/Plugin.swift
@@ -45,7 +45,7 @@ struct QNXEnvironmentExtension: EnvironmentExtension {
45
let plugin: QNXPlugin
46
47
func additionalEnvironmentVariables(context: any EnvironmentExtensionAdditionalEnvironmentVariablesContext) async throws -> [String : String] {
48
- if let latest = try await plugin.cachedQNXSDPInstallations(host: context.hostOperatingSystem).first {
+ if let latest = try? await plugin.cachedQNXSDPInstallations(host: context.hostOperatingSystem).first {
49
return .init(latest.environment)
50
}
51
return [:]
0 commit comments