mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Merge pull request #6097 from appwrite/feat-6094-case-insensitive-confirm
Make install confirmation case insensitive
This commit is contained in:
commit
36698d180c
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,11 @@
|
|||
# Version 1.4.2
|
||||
|
||||
## Fixes
|
||||
|
||||
## Changes
|
||||
|
||||
- Make installation confirmation case insensitive [#6097](https://github.com/appwrite/appwrite/pull/6097)
|
||||
|
||||
# Version 1.4.1
|
||||
|
||||
## Features
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ class Install extends Action
|
|||
if ($interactive == 'Y' && Console::isInteractive()) {
|
||||
$answer = Console::confirm('Previous installation found, do you want to overwrite it (a backup will be created before overwriting)? (Y/n)');
|
||||
|
||||
if ($answer !== 'Y') {
|
||||
if (\strtolower($answer) !== 'y') {
|
||||
Console::info('No action taken.');
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue