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': case 'fail':
$fail = rtrim( $fail = (string) $argument['value'];
(string) $argument['value'],
DIRECTORY_SEPARATOR
) . DIRECTORY_SEPARATOR;
if (!str_starts_with($fail, DIRECTORY_SEPARATOR)) if (!str_starts_with($fail, DIRECTORY_SEPARATOR))
{ {