-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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(inquirer): adjust parameters #1556
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1556 +/- ##
=======================================
Coverage ? 98.03%
=======================================
Files ? 39
Lines ? 2389
Branches ? 644
=======================================
Hits ? 2342
Misses ? 40
Partials ? 7 ☔ View full report in Codecov by Sentry. |
@@ -197,7 +197,6 @@ export default class PromptsRunner<A extends Answers> { | |||
process: Observable<any> = EMPTY; | |||
private abortController: AbortController = new AbortController(); | |||
private opt: StreamOptions; | |||
rl?: InquirerReadline; |
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.
In v9 this is a singleton. In v10 it's undefined for modern and ephemeral for legacy prompts.
It's not reliable, it's better to don't expose.
Related to #1527