diff --git a/app/Console/Commands/CheckFtpSongs.php b/app/Console/Commands/CheckFtpSongs.php index 94fb8be..2783b3d 100644 --- a/app/Console/Commands/CheckFtpSongs.php +++ b/app/Console/Commands/CheckFtpSongs.php @@ -80,8 +80,7 @@ class CheckFtpSongs extends Command // 4) 結果 $this->warn("❌ 缺失檔案(DB 有 / FTP 無):{$missing->count()}"); - $missing->take(20)->each(fn ($p) => $this->line(" - $p")); - if ($missing->count() > 20) $this->line(' …其餘省略'); + $missing->each(fn ($p) => $this->line(" - $p")); $this->info("⚠️ 多餘檔案(FTP 有 / DB 無):{$extra->count()}"); $extra->take(20)->each(fn ($p) => $this->line(" - $p"));