Skip to content

Commit

Permalink
Update src/Commands/ClearSettings.php
Browse files Browse the repository at this point in the history
Co-authored-by: Michal Sniatala <[email protected]>
  • Loading branch information
lonnieezell and michalsn authored Jan 5, 2024
1 parent 9d91da7 commit 797e2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/ClearSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ClearSettings extends BaseCommand

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

Expand Down

0 comments on commit 797e2b6

Please sign in to comment.