From 3638d33ea1240ed2b67ae0e6e0fefda07908d112 Mon Sep 17 00:00:00 2001 From: bernardhanna Date: Wed, 25 Feb 2026 09:30:00 +0000 Subject: [PATCH] certs fix --- app/Console/Commands/CertificatePreflight.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/CertificatePreflight.php b/app/Console/Commands/CertificatePreflight.php index c93280a47..84032e3dd 100644 --- a/app/Console/Commands/CertificatePreflight.php +++ b/app/Console/Commands/CertificatePreflight.php @@ -139,7 +139,7 @@ public function handle(): int } } - if ($exportPath !== '' && ! empty($allFailures)) { + if ($exportPath !== '') { $path = $this->resolvePath($exportPath); $dir = dirname($path); if (! is_dir($dir) && ! @mkdir($dir, 0775, true) && ! is_dir($dir)) { @@ -164,7 +164,7 @@ public function handle(): int ]); } fclose($fh); - $this->info("Exported failures only: {$path}"); + $this->info(empty($allFailures) ? "Exported (no failures): {$path}" : "Exported failures only: {$path}"); } return self::SUCCESS;