diff --git a/_cleanup.php b/_cleanup.php index fff469c63..3b292c216 100644 --- a/_cleanup.php +++ b/_cleanup.php @@ -50,9 +50,9 @@ foreach ($items as $item) { function removeFile(string $file): void { if (unlink($file)) { - echo "[INFO] File removed: $file" . PHP_EOL; + echo "- File removed: $file" . PHP_EOL; } else { - echo "[ERROR] File cannot be removed: $file" . PHP_EOL; + echo "- File cannot be removed: $file" . PHP_EOL; exit; } } @@ -76,9 +76,9 @@ function removeDir(string $dir): void } if (rmdir($dir)) { - echo "[INFO] Folder removed: $dir" . PHP_EOL; + echo "- Folder removed: $dir" . PHP_EOL; } else { - echo "[ERROR] Folder cannot be removed: $dir" . PHP_EOL; + echo "- Folder cannot be removed: $dir" . PHP_EOL; exit; } }