Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commit324b512
committed
[Console]Fixed#29835: ConfirmationQuestion with default true for answer '0'
When using the ConfirmationQuestion class to ask a yes / no question,if the default is true, and the answer regex is '/^y/i', then anyvalue not starting with [yY] is considered false.This must include "0"1 parent4ed009b commit324b512
File tree
2 files changed
+2
-2
lines changed- src/Symfony/Component/Console
- Question
- Tests/Question
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments
Comments
(0)