Skip to content
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

Merged
merged 7 commits into from
Sep 17, 2024
Merged

fix(inquirer): adjust parameters #1556

merged 7 commits into from
Sep 17, 2024

Conversation

mshima
Copy link
Contributor

@mshima mshima commented Sep 17, 2024

Related to #1527

@mshima mshima changed the title Adjusts fix: adjust parameters Sep 17, 2024
Copy link

codecov bot commented Sep 17, 2024

Codecov Report

Attention: Patch coverage is 86.20690% with 4 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@9e29035). Learn more about missing BASE report.

Files with missing lines Patch % Lines
packages/inquirer/src/ui/prompt.mts 86.20% 4 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

@@ -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;
Copy link
Contributor Author

@mshima mshima Sep 17, 2024

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.

@mshima mshima changed the title fix: adjust parameters fix(inquirer): adjust parameters Sep 17, 2024
@SBoudrias SBoudrias merged commit a6ac2fa into SBoudrias:main Sep 17, 2024
10 checks passed
@mshima mshima deleted the adjusts branch September 17, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants