update fail path init

This commit is contained in:
yggverse 2024-04-28 18:28:01 +03:00
parent 0982526c90
commit 87b7d288ae

View File

@ -74,10 +74,7 @@ foreach ((array) $argv as $item)
case 'fail':
$fail = rtrim(
(string) $argument['value'],
DIRECTORY_SEPARATOR
) . DIRECTORY_SEPARATOR;
$fail = (string) $argument['value'];
if (!str_starts_with($fail, DIRECTORY_SEPARATOR))
{