Skip to content

Commit f2d2d93

Browse files
swissspidyCopilot
andauthored
Update src/Context/FeatureContext.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e7723b6 commit f2d2d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Context/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ public function install_wp( $subdir = '', $version = '' ): void {
16141614

16151615
$install_cache_path = self::$install_cache_dir . '/install_' . md5( implode( ':', $install_args ) . ':subdir=' . $subdir );
16161616

1617-
$install_cache_is_valid = file_exists( $install_cache_path )
1617+
$install_cache_is_valid = is_dir( $install_cache_path )
16181618
&& ( 'sqlite' !== self::$db_type || file_exists( "{$install_cache_path}.sqlite" ) );
16191619

16201620
if ( $install_cache_is_valid ) {

0 commit comments

Comments
 (0)