Skip to content

Commit 3638d33

Browse files
committed
certs fix
1 parent 9e6553c commit 3638d33

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/Console/Commands/CertificatePreflight.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function handle(): int
139139
}
140140
}
141141

142-
if ($exportPath !== '' && ! empty($allFailures)) {
142+
if ($exportPath !== '') {
143143
$path = $this->resolvePath($exportPath);
144144
$dir = dirname($path);
145145
if (! is_dir($dir) && ! @mkdir($dir, 0775, true) && ! is_dir($dir)) {
@@ -164,7 +164,7 @@ public function handle(): int
164164
]);
165165
}
166166
fclose($fh);
167-
$this->info("Exported failures only: {$path}");
167+
$this->info(empty($allFailures) ? "Exported (no failures): {$path}" : "Exported failures only: {$path}");
168168
}
169169

170170
return self::SUCCESS;

0 commit comments

Comments
 (0)