Skip to content

Commit

Permalink
Default “all” command to use --all
Browse files Browse the repository at this point in the history
When this command runs on the platform, it does not explicitly utilize the --all flag, but that’s because the plugin command (which does have an option for --all) does not actually implement this logic - it will pull all plugins and makes no distinction whether they’re active or not.

This commit will just assume that when anyone (including the platform) runs the “all” command, it will expect the --all flag is enabled.
  • Loading branch information
kyletaylored committed Apr 30, 2021
1 parent 86b2928 commit 6066583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php/commands/launchcheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public function all($args, $assoc_args) {
$searcher->register( new \Pantheon\Checks\Insecure() );
$searcher->register( new \Pantheon\Checks\Exploited() );
$searcher->execute();
$checker->register( new \Pantheon\Checks\Plugins(isset($assoc_args['all'])) );
$checker->register( new \Pantheon\Checks\Themes(isset($assoc_args['all'])) );
$checker->register( new \Pantheon\Checks\Plugins(TRUE));
$checker->register( new \Pantheon\Checks\Themes(TRUE));
$checker->register( new \Pantheon\Checks\Cron() );
$checker->register( new \Pantheon\Checks\Objectcache() );
$checker->register( new \Pantheon\Checks\Database() );
Expand Down

0 comments on commit 6066583

Please sign in to comment.