We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8bc76d commit cc6dde4Copy full SHA for cc6dde4
php/EE/Runner.php
@@ -870,10 +870,7 @@ private function maybe_trigger_migration() {
870
871
if ( Comparator::lessThan( $base_current_version, $base_db_version ) ) {
872
873
- $ee_update_command = 'ee cli update --stable --yes';
874
- if ( IS_DARWIN ) {
875
- $ee_update_command = 'brew upgrade easyengine';
876
- }
+ $ee_update_command = IS_DARWIN ? 'brew upgrade easyengine' : 'ee cli update --stable --yes';
877
$ee_update_msg = sprintf(
878
'It seems you\'re not running latest version. Update EasyEngine using `%s`.',
879
$ee_update_command
0 commit comments