Closed timacdonald closed 3 months ago
When using the --except flags, you can sometimes see the message "All features purged from storage" when nothing has been purged.
--except
Imagine you have a feature defined and have that feature has been resolved and stored in the database...
Feature::define('feature-name', true); Feature::active('feature-name');
Then when you run the command to purge everything except that feature, which means nothing is going to be purged, it outputs the wrong message.
php artisan pennant:purge --except=feature-name - All features successfully purged from storage. + No features to purge from storage.
When using the
--except
flags, you can sometimes see the message "All features purged from storage" when nothing has been purged.Imagine you have a feature defined and have that feature has been resolved and stored in the database...
Then when you run the command to purge everything except that feature, which means nothing is going to be purged, it outputs the wrong message.