Skip to content

feat: standardize error for prompt#4939

Merged
thaJeztah merged 2 commits intodocker:masterfrom
Benehiko:prompt-termination
Apr 2, 2024
Merged

feat: standardize error for prompt#4939
thaJeztah merged 2 commits intodocker:masterfrom
Benehiko:prompt-termination

Conversation

@Benehiko
Copy link
Copy Markdown
Member

@Benehiko Benehiko commented Mar 12, 2024

Follow up to #4888

This PR standardizes the commands return value that use PromptForConfirmation and verifies the exit code to be 0 on prompt termination.

- What I did
Add e2e tests, update command prompt termination tests and adjust error type returned from PromptForConfirmation function.

- How I did it

- How to verify it

- Description for the changelog

Standardize the exit code to 0 for cancelling a confirmation prompt with SIGINT.

- A picture of a cute animal (not mandatory but encouraged)

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants