mirror of https://tildegit.org/sbgodin/HtmGem.git
Fixes a bug in git post-commit test validation
This commit is contained in:
parent
852e57d800
commit
9bb14c4e03
|
@ -16,7 +16,7 @@ exec('phpunit tests', $output, $returnCode);
|
||||||
array_shift($output);
|
array_shift($output);
|
||||||
|
|
||||||
if ($returnCode !== 0) {
|
if ($returnCode !== 0) {
|
||||||
echo PHP_EOL . implode($output, PHP_EOL) . PHP_EOL;
|
echo PHP_EOL . implode(PHP_EOL, $output) . PHP_EOL;
|
||||||
echo "Tests failed…" . PHP_EOL;
|
echo "Tests failed…" . PHP_EOL;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue