From 87b7d288ae51082fa426478a4c7faca85b273184 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 28 Apr 2024 18:28:01 +0300 Subject: [PATCH] update fail path init --- src/nex.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/nex.php b/src/nex.php index 62c303f..d848d99 100644 --- a/src/nex.php +++ b/src/nex.php @@ -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)) {