Skip to content

Commit 3aaa591

Browse files
committed
Skip migrations and checks only on 'ee help' and 'ee cli version'
Signed-off-by: Riddhesh Sanghvi <[email protected]>
1 parent 078c32e commit 3aaa591

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

php/EE/Runner.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ private function init_ee() {
6464

6565
if (
6666
! empty( $this->arguments ) &&
67-
( ! in_array( $this->arguments[0], [ 'cli', 'help' ], true ) ||
68-
$this->arguments === [ 'cli', 'update' ] ||
69-
$this->arguments === [ 'cli', 'self-uninstall' ] )
70-
) {
67+
( 'help' !== $this->arguments[0] )
68+
&& $this->arguments !== [ 'cli', 'version' ]
69+
)
70+
{
7171

7272
// Minimum requirement checks.
7373
$docker_running = 'docker ps > /dev/null';

0 commit comments

Comments
 (0)