Merge pull request #6097 from appwrite/feat-6094-case-insensitive-confirm

Make install confirmation case insensitive
This commit is contained in:
Jake Barnby 2023-08-31 15:30:14 -04:00 committed by GitHub
commit 36698d180c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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;
}