We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e6553c commit 3638d33Copy full SHA for 3638d33
1 file changed
app/Console/Commands/CertificatePreflight.php
@@ -139,7 +139,7 @@ public function handle(): int
139
}
140
141
142
- if ($exportPath !== '' && ! empty($allFailures)) {
+ if ($exportPath !== '') {
143
$path = $this->resolvePath($exportPath);
144
$dir = dirname($path);
145
if (! is_dir($dir) && ! @mkdir($dir, 0775, true) && ! is_dir($dir)) {
@@ -164,7 +164,7 @@ public function handle(): int
164
]);
165
166
fclose($fh);
167
- $this->info("Exported failures only: {$path}");
+ $this->info(empty($allFailures) ? "Exported (no failures): {$path}" : "Exported failures only: {$path}");
168
169
170
return self::SUCCESS;
0 commit comments