mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
w
This commit is contained in:
@ -28,6 +28,10 @@ final class Only implements Terminable
|
||||
*/
|
||||
public function terminate(): void
|
||||
{
|
||||
if (Parallel::isWorker()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$lockFile = self::TEMPORARY_FOLDER.DIRECTORY_SEPARATOR.'only.lock';
|
||||
|
||||
if (file_exists($lockFile)) {
|
||||
|
||||
Reference in New Issue
Block a user