Fixing Backtrace not found error if project dirname endswith pest

This commit is contained in:
Filippo Montani
2023-09-30 00:05:42 +02:00
committed by GitHub
parent a8b785f69e
commit 28ee2917f1

View File

@ -115,7 +115,7 @@ final class Backtrace
continue;
}
if (str_contains($trace['file'], 'pest'.DIRECTORY_SEPARATOR.'src')) {
if (str_contains($trace['file'], DIRECTORY_SEPARATOR.'pestphp'.DIRECTORY_SEPARATOR.'pest'.DIRECTORY_SEPARATOR.'src')) {
continue;
}