Fix rm parameter to avoid warnings

[MAILPOET-2448]
This commit is contained in:
Jan Jakeš
2019-10-09 10:15:42 +02:00
committed by Jack Kitterhing
parent c7b0f50c4c
commit ae7ee6f0ed

View File

@ -29,4 +29,4 @@ foreach ($files as $file) {
}
# remove unused PHP file that starts with shebang line instead of <?php and causes PHP lint on WP repo to fail
exec('rm -r ' . __DIR__ . '/../vendor-prefixed/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php');
exec('rm -f ' . __DIR__ . '/../vendor-prefixed/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php');