Skip to content

Commit

Permalink
Merge pull request #7 from eSlider/develop
Browse files Browse the repository at this point in the history
Fix escape windows transpiler path
  • Loading branch information
eSlider authored Nov 3, 2016
2 parents 4777166 + 15ffd1c commit 12ec489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Eslider/Filter/ScssFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function filterLoad(AssetInterface $asset)
public function generateCssOnWindows(AssetInterface $asset)
{
$css = "";
$sassProcessArgs = array($this->sassPath);
$sassProcessArgs = array(escapeshellarg($this->sassPath));
foreach ($this->loadPaths as $loadPath) {
$sassProcessArgs[] = '--load-path';
$sassProcessArgs[] = escapeshellarg($loadPath);
Expand Down Expand Up @@ -176,4 +176,4 @@ protected function isWindows()
{
return $this->osName == 'CYG' || $this->osName == 'WIN';
}
}
}

0 comments on commit 12ec489

Please sign in to comment.