MDL-54628 behat: Rerun command now include replace option passed
This commit is contained in:
committed by
Andrew Nicols
parent
0c4422af0b
commit
0bcbd5b205
@@ -303,6 +303,9 @@ if ($verbose || $status) {
|
||||
unset($extraopts['fromrun']);
|
||||
unset($extraopts['torun']);
|
||||
$extraopts['rerun'] = '--rerun';
|
||||
if (!empty($options['replace'])) {
|
||||
$extraopts['replace'] = '--replace="' . $options['replace'] . '"';
|
||||
}
|
||||
$extraoptstr = implode(' ', $extraopts);
|
||||
echo behat_command::get_behat_command(true, true, true) . " " . $extraoptstr . PHP_EOL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user