Adding a null check
Publish PHP Package / docker (push) Successful in 6s
Details
Publish PHP Package / docker (push) Successful in 6s
Details
This commit is contained in:
parent
2e666d8b66
commit
8e4a56f89c
|
@ -222,6 +222,9 @@ function need_to_regen_any(array $files, array $deps, bool $debug = false) : boo
|
||||||
echo "need_to_regen_any, earliest file: $earliest_file ($date)\n";
|
echo "need_to_regen_any, earliest file: $earliest_file ($date)\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($earliest_file === null)
|
||||||
|
return true;
|
||||||
|
|
||||||
return need_to_regen($earliest_file, $deps, $debug);
|
return need_to_regen($earliest_file, $deps, $debug);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue