-
Notifications
You must be signed in to change notification settings - Fork 904
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
doctor: improve CocoaPods installation #718
Conversation
@thib92: I would appreciate if you could check the code, I did some stuff to get TypeScript work. |
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.
Apart from this one comment, looks good to me 👍
…into refactor/separate-cocoapods-installation
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 👍
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.
Looks good, left some inline feedback
@thymikee: all fixed 🙂 |
Summary:
This PR fixes a small problem on the UI of
doctor
with the CocoaPods installation (tracked at #694), however it introduced a lot of stuff in the code in order to get it done.The issue basically was that the question was being shown in the middle of the fixes and felt a little bit out-of-place, the idea was to remove the question and do the installation together with a prefix of the method, e.g.
CocoaPods (installing with gem)
.This turned out to be slightly bigger than expected, in order to remove the question after it's prompted I had to calculate the length of lines the question was using in the terminal.
Before
After
Test Plan:
sudo gem uninstall cocoapods
node /path/to/cli doctor
f