Skip to content

Commit 012f5c0

Browse files
author
Karpenko, Oleksandr
committed
MAGETWO-56915: Versioning of static files (CSS, JS, Fonts, Images, etc.) doesn't enabled by default - for mainline
1 parent ad400b0 commit 012f5c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Deploy/Model/Deployer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public function deploy(ObjectManagerFactory $omFactory, array $locales, array $d
302302
$dictionaryFileName = $this->jsTranslationConfig->getDictionaryFileName();
303303
$this->deployFile($dictionaryFileName, $area, $themePath, $locale, null);
304304
}
305-
if ($this->getMinification()->isEnabled('js')) {
305+
if ($this->getMinification()->isEnabled('js') && !$this->getOption(Options::DRY_RUN)) {
306306
$fileManager->createMinResolverAsset();
307307
}
308308
}

0 commit comments

Comments
 (0)