-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix CLI::UI compatibility #52
Conversation
d64abf4
to
47d883c
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.
domain LGTM && platform LGTM - sans tests of course. Any thoughts on how to integration test this thing?
47d883c
to
3c7a303
Compare
62e171c
to
140b413
Compare
require 'spec_helper' | ||
require 'sorbet-runtime' | ||
require 'demo_mode/cli' |
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.
This change reproduces the issue. See https://github.com/Shopify/cli-ui/blob/v2.3.0/lib/cli/ui.rb#L4-L6
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.
domain LGTM
The
persona:create
task is failing on newer versions ofCLI::UI
. It seems like we're using prompts in a way thatCLI::UI
wasn't designed to be used.CLI::UI expects: