Skip to content

Commit 4fc81da

Browse files
committed
Add check true for skipping if admin-tools have not been initialized
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
1 parent 0fbe546 commit 4fc81da

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

migrations/container/20190104010207_admin-tools-command_update_config_with_env.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ public function __construct() {
2222
if ( $this->is_first_execution ) {
2323
$this->skip_this_migration = true;
2424
}
25-
if ( $this->fs->exists( EE_ROOT_DIR . '/admin-tools/index.php' ) ) {
26-
$this->skip_this_migration = false;
27-
}
25+
$this->skip_this_migration = ( $this->fs->exists( EE_ROOT_DIR . '/admin-tools/index.php' ) ) ? false : true;
2826
}
2927

3028
/**

0 commit comments

Comments
 (0)