Skip to content

Commit d147b8a

Browse files
author
Viktor Paladiychuk
committed
MAGETWO-49175: Wrong behavior of "Client side less compilation" type
1 parent 27cbcbf commit d147b8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Developer/Model/View/Asset/PreProcessor/FrontendCompilation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function process(PreProcessor\Chain $chain)
107107
*/
108108
private function processContent($path, $content, $module, FallbackContext $context)
109109
{
110-
$sourceType = '#\.' . preg_quote(pathinfo($path, PATHINFO_EXTENSION)) . '$#';
110+
$sourceType = '#\.' . preg_quote(pathinfo($path, PATHINFO_EXTENSION), '#') . '$#';
111111

112112
foreach ($this->alternativeSource->getAlternativesExtensionsNames() as $name) {
113113
$asset = $this->assetBuilder->setArea($context->getAreaCode())

0 commit comments

Comments
 (0)