Skip to content

Commit 67bd754

Browse files
committed
fix copy
1 parent 497c7a7 commit 67bd754

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
@@ -1296,7 +1296,7 @@ public static function copy_dir( $src_dir, $dest_dir ): void {
12961296
if ( 'Darwin' === PHP_OS ) {
12971297
$shell_command = Utils\esc_cmd( 'cp -R %s/* %s', $src_dir, $dest_dir );
12981298
} elseif ( self::is_windows() ) {
1299-
$shell_command = Utils\esc_cmd( 'copy /y %s/* %s', $src_dir, $dest_dir );
1299+
$shell_command = Utils\esc_cmd( 'copy /y %s %s', $src_dir, $dest_dir );
13001300
}
13011301
Process::create( $shell_command )->run_check();
13021302
}

0 commit comments

Comments
 (0)