Skip to content

Commit 797e2b6

Browse files
Update src/Commands/ClearSettings.php
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
1 parent 9d91da7 commit 797e2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/ClearSettings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class ClearSettings extends BaseCommand
1313

1414
public function run(array $params)
1515
{
16-
if (CLI::prompt('This will delete all settings from the database. Are you sure you want to continue?', ['y', 'n'], 'required') === 'y') {
16+
if (CLI::prompt('This will delete all settings from the database. Are you sure you want to continue?', ['y', 'n'], 'required') !== 'y') {
1717
return;
1818
}
1919

0 commit comments

Comments
 (0)