Skip to content

Commit 497c7a7

Browse files
committed
force del
1 parent a2befaf commit 497c7a7

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
@@ -1279,7 +1279,7 @@ public function move_files( $src, $dest ): void {
12791279
*/
12801280
public static function remove_dir( $dir ): void {
12811281
if ( self::is_windows() ) {
1282-
Process::create( Utils\esc_cmd( 'del %s', $dir ) )->run_check();
1282+
Process::create( Utils\esc_cmd( 'del /f /q %s', $dir ) )->run_check();
12831283
} else {
12841284
Process::create( Utils\esc_cmd( 'rm -rf %s', $dir ) )->run_check();
12851285
}

0 commit comments

Comments
 (0)