Skip to content

Commit

Permalink
make sure container exists to fix CLI command issue
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Feb 27, 2024
1 parent b94014f commit 3f68422
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ function () {
$marketplace_brand = 'bluehost-cloud';
}

$bluehost_module_container->set( 'cache_types', $cache_types );
$bluehost_module_container->set( 'marketplace_brand', $marketplace_brand );
if ( $bluehost_module_container ) {
$bluehost_module_container->set( 'cache_types', $cache_types );
$bluehost_module_container->set( 'marketplace_brand', $marketplace_brand );
}
},
11
);
Expand Down

0 comments on commit 3f68422

Please sign in to comment.