-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exit immediately if trying to select currently selected xcode #181
Exit immediately if trying to select currently selected xcode #181
Conversation
91e3655
to
eb8e698
Compare
c3712ce
to
fbe2b25
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just 2 nitpicks :)
If the currently requested xcode is already selected, there is no need to prompt the user to give sudo permissions and re-select the path. We can just avoid the step and exit early.
Co-authored-by: Roger Oba <rogerluan.oba@gmail.com>
0b43aee
to
030ac5f
Compare
@MattKiazyk just a heads up that this PR could/should be merged before #182 🤗 #182 branched off of this one :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tahirmt sorry for the delayed approval
If the currently requested xcode is already selected, there is no need to prompt the user to give sudo permissions and re-select the path. We can just avoid the step and exit early.
Closes #102