We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15141ea commit 04796d6Copy full SHA for 04796d6
1 file changed
src/Context/FeatureContext.php
@@ -1211,6 +1211,7 @@ public function create_run_dir(): void {
1211
if ( ! isset( $this->variables['RUN_DIR'] ) ) {
1212
$temp_run_dir = sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid( 'wp-cli-test-run-' . self::$temp_dir_infix . '-', true );
1213
mkdir( $temp_run_dir );
1214
+ $temp_run_dir = realpath( $temp_run_dir ) ?: $temp_run_dir;
1215
self::$run_dir = $temp_run_dir;
1216
$this->variables['RUN_DIR'] = self::$run_dir;
1217
}
0 commit comments