Skip to content

Commit f7c67eb

Browse files
committed
Add back todo
1 parent 8f41d68 commit f7c67eb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Context/FeatureContext.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,11 @@ public static function prepare( BeforeSuiteScope $scope ): void {
655655
self::$behat_run_dir = getcwd();
656656
self::$mysql_binary = Utils\get_mysql_binary_path();
657657

658+
// TODO: Improve Windows support upstream in Utils\get_mysql_binary_path().
659+
if ( Utils\is_windows() && ! self::$mysql_binary ) {
660+
self::$mysql_binary = 'mysql.exe';
661+
}
662+
658663
$result = Process::create( 'wp cli info', null, self::get_process_env_variables() )->run_check();
659664
echo "{$result->stdout}\n";
660665

0 commit comments

Comments
 (0)