Skip to content
Merged

Dev #3407

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/Console/Commands/CertificatePreflight.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand All @@ -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;
Expand Down
Loading