Skip to content

Commit

Permalink
Update CliRunner.php
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentmuller committed Mar 25, 2024
1 parent 32f70d6 commit 2361be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Deployment/CliRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private function createDeployer(array $config): Deployer
: self::toArray($config['preprocess']); // intentionally ==
$preprocessor = new Preprocessor($this->logger);
if (isset($config['requireCompressMark'])) {
$preprocessor->requireCompressMark = 'no' !== $config['requireCompressMark'];
$preprocessor->requireCompressMark = $config['requireCompressMark'] !== 'no';
}
$deployment->addFilter('js', [$preprocessor, 'expandApacheImports']);
$deployment->addFilter('js', [$preprocessor, 'compressJs'], true);
Expand Down

0 comments on commit 2361be3

Please sign in to comment.