Skip to content
Merged
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
9 changes: 2 additions & 7 deletions src/Processor/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ class Processor
* @var LESSCompiler
*/
private $less;
/**
* @var CompassCompiler
*/
private $compass;

public function __construct(IOInterface $io)
{
Expand All @@ -55,7 +51,7 @@ protected function initCompilers()
$this->less = new LESSCompiler();
$this->sass = new SASSCompiler();
/** attaches compass functionality to the SASS compiler */
$this->compass = new CompassCompiler($this->sass);
new CompassCompiler($this->sass);
}

/**
Expand Down Expand Up @@ -103,9 +99,8 @@ public function concatOutput()
public function saveOutput()
{
foreach ($this->concatOutput() as $path => $content) {

$directory = dirname($path);
if (!is_dir($dir = $directory)) {
if (!is_dir($directory)) {
$this->io->write("<info>creating directory</info>: {$directory}");
mkdir($directory, 0755, true);
}
Expand Down