Skip to content

Commit

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

0 comments on commit fe3b37b

Please sign in to comment.