consistent verbosity
[pharext/pharext] / src / pharext / Task / Cleanup.php
index c2cfefa8b768019dcc1c55202812e89460b99c72..3684806e62094c91f38a73ae8ad962d4510c7424 100644 (file)
@@ -26,6 +26,9 @@ class Cleanup implements Task
         * @param bool $verbose
         */
        public function run($verbose = false) {
+               if ($verbose) {
+                       printf("Cleaning up %s ...\n", $this->rm);
+               }
                if ($this->rm instanceof Tempfile) {
                        unset($this->rm);
                } elseif (is_dir($this->rm)) {