The clover is allowed to be missing (for hhvm).
This commit is contained in:
parent
19dcd73585
commit
8d7b3afc3b
|
@ -15,7 +15,8 @@ $inputFile = $argv[1];
|
||||||
$percentage = min(100, max(0, (int) $argv[2]));
|
$percentage = min(100, max(0, (int) $argv[2]));
|
||||||
|
|
||||||
if (!file_exists($inputFile)) {
|
if (!file_exists($inputFile)) {
|
||||||
throw new InvalidArgumentException('Invalid input file provided');
|
echo 'Invalid input file provided';
|
||||||
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$percentage) {
|
if (!$percentage) {
|
||||||
|
|
Loading…
Reference in a new issue