Skip to content

Commit bb6a0d8

Browse files
committed
Update format of if statement
1 parent bbc9e15 commit bb6a0d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftSDKCommand/ConfigureSwiftSDK.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ struct ConfigureSwiftSDK: AsyncParsableCommand {
140140
librarySearchPaths: self.librarySearchPath,
141141
toolsetPaths: self.toolsetPath
142142
)
143-
if try configurationStore.configure(
143+
if try !configurationStore.configure(
144144
sdkID: sdkID,
145145
targetTriple: targetTriple,
146146
showConfiguration: shouldShowConfiguration,
147147
resetConfiguration: shouldReset,
148148
config: config
149-
) == false {
149+
) {
150150
throw ExitCode.failure
151151
}
152152
} catch {

0 commit comments

Comments
 (0)