File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -869,10 +869,17 @@ private function maybe_trigger_migration() {
869869 $ base_current_version = preg_replace ( '/-nightly.*$/ ' , '' , EE_VERSION );
870870
871871 if ( Comparator::lessThan ( $ base_current_version , $ base_db_version ) ) {
872+
873+ $ ee_update_command = IS_DARWIN ? 'brew upgrade easyengine ' : 'ee cli update --stable --yes ' ;
874+ $ ee_update_msg = sprintf (
875+ 'It seems you \'re not running latest version. Update EasyEngine using `%s`. ' ,
876+ $ ee_update_command
877+ );
878+
872879 if ( ! empty ( $ this ->arguments ) && 'cli ' === $ this ->arguments [0 ] ) {
873- EE ::warning ( ' It seems you \' re not running latest version. Update EasyEngine using `ee cli update --stable --yes`. ' );
880+ EE ::warning ( $ ee_update_msg );
874881 } else {
875- EE ::error ( ' It seems you \' re not running latest version. Update EasyEngine using `ee cli update --stable --yes`. ' );
882+ EE ::error ( $ ee_update_msg );
876883 }
877884 } elseif ( $ db_version !== $ current_version ) {
878885 EE ::log ( 'Executing migrations. This might take some time. ' );
You can’t perform that action at this time.
0 commit comments