Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tahirmt committed Oct 8, 2022
1 parent f1025cc commit 77d2e29
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Sources/xcodes/App.swift
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,11 @@ struct Xcodes: AsyncParsableCommand {
}
}
.then { xcode -> Promise<Void> in
select ? selectXcode(shouldPrint: print, pathOrVersion: xcode.path.string, directory: destination, fallbackToInteractive: false) : .init()
if select {
return selectXcode(shouldPrint: print, pathOrVersion: xcode.path.string, directory: destination, fallbackToInteractive: false)
} else {
return .init()
}
}
.done {
Install.exit()
Expand Down

0 comments on commit 77d2e29

Please sign in to comment.