diff --git a/src/Processor/Processor.php b/src/Processor/Processor.php index 78b5380..f97e4a7 100644 --- a/src/Processor/Processor.php +++ b/src/Processor/Processor.php @@ -103,11 +103,11 @@ public function saveOutput() $directory = dirname($path); if (!is_dir($dir = $directory)) { - $this->io->write("creating directory: {$directory}"); + $this->io->write("creating directory: {$directory}"); mkdir($directory, 0755, true); } - $this->io->write("creating output: {$path}"); + $this->io->write("save output into: {$path}"); file_put_contents($path, $content); } } @@ -130,22 +130,9 @@ public function processFiles($formatter) default: throw new \InvalidArgumentException('available options are: xxx'); } -// -f=format Set the output format, includes "default", "compressed" - -// switch ($formatter) { -// case 'compressed': -// case 'crunched': -// case 'expanded': -// case 'nested': -// case 'compact': -// $formatter = 'Leafo\\ScssPhp\\Formatter\\' . ucfirst($formatter); -// break; -// default: -// throw new \InvalidArgumentException('available options are: xxx'); -// } foreach ($this->files as $file) { - $this->io->write("processing file: {$file->getSourcePath()}"); + $this->io->write("processing: {$file->getSourcePath()}"); $file->setSourceContentFromSourcePath(); switch ($file->getType()) {