From 37d71adb4e55e07c88a57713ad3aeb937c7f837c Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 2 Mar 2023 22:18:03 +0000 Subject: [PATCH] fix: cache directory --- src/Plugins/Cache.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Plugins/Cache.php b/src/Plugins/Cache.php index f1929b9d..b9413c63 100644 --- a/src/Plugins/Cache.php +++ b/src/Plugins/Cache.php @@ -30,12 +30,12 @@ final class Cache implements HandlesArguments */ public function handleArguments(array $arguments): array { - if (! $this->hasArgument('--parallel', $arguments)) { - $arguments = $this->pushArgument( - sprintf('--cache-directory=%s', realpath(self::TEMPORARY_FOLDER)), - $arguments - ); + $arguments = $this->pushArgument( + sprintf('--cache-directory=%s', realpath(self::TEMPORARY_FOLDER)), + $arguments + ); + if (! $this->hasArgument('--parallel', $arguments)) { $arguments = $this->pushArgument('--cache-result', $arguments); }