Skip to content

Commit

Permalink
yii2 codestyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nizsheanez committed Jan 10, 2015
1 parent 2edcf93 commit bfafc23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ public function convert($asset, $basePath)
}

$parserConfig = ArrayHelper::merge($this->defaultParsersOptions[$ext], $this->parsers[$ext]);
if ($this->destinationDir)
if ($this->destinationDir) {
$this->destinationDir .= '/';
}
$resultFile = $this->destinationDir . substr($asset, 0, $pos + 1) . $parserConfig['output'];

$from = $basePath . '/' . $asset;
Expand Down

0 comments on commit bfafc23

Please sign in to comment.