-
Notifications
You must be signed in to change notification settings - Fork 40
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
2128/confirm prompt validator not invoked as expected #2378
Conversation
🦋 Changeset detectedLatest commit: d145a2d The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
be5a3dd
to
0fdd6b4
Compare
b64bd12
to
0e0aa15
Compare
7ddbb0a
to
b244201
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.
Update looks good
Not manually tested
Tests to cover
Changeset ✅
packages/abap-deploy-config-inquirer/src/prompts/questions/abap-target.ts
Outdated
Show resolved
Hide resolved
df87e09
to
461741d
Compare
1f18bc2
to
55782f8
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.
Re-approving
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 @longieirl
- Understandability of the client prompt condition could be clearer but defer to the author
- Tests updated
Quality Gate passedIssues Measures |
…e_reuse_libs * origin/main: chore: apply latest changesets fix(ui5-info): fix fallback logic for retrieving maintained versions (#2516) chore: apply latest changesets 2128/confirm prompt validator not invoked as expected (#2378) chore: apply latest changesets fix: Create Custom Table Column quick action bug fix (#2513) chore: apply latest changesets Fix: npm i after executing a create command fails on Windows (#2508)
Fix for #2128
validator
was invoked for both YUI and CLI. This PR removes the validator method and ensures thescp
prompt state is maintained correctly by adding a scp setter prompt to handle both flows, CLI and YUI.Example1;
ui5.yaml
Prompts;
Example2;
ui5.yaml
Prompts;
Example3;
Prompts;
Example4;
Example5;