Skip to content

Commit 57b7287

Browse files
committed
MAGETWO-50673: Static asset deployment is crazy slow with multiple locales
- MAGETWO-54819: Make deploy configurable
1 parent e87f553 commit 57b7287

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,12 @@ public function deploy(ObjectManagerFactory $omFactory, array $deployableLanguag
328328
$this->count++;
329329
}
330330
$this->output->writeln("\nSuccessful: {$this->count} files modified\n---\n");
331-
$version = (new \DateTime())->getTimestamp();
332-
$this->output->writeln("New version of deployed files: {$version}");
333-
if (!$this->getOption(Options::DRY_RUN_OPTION)) {
334-
$this->versionStorage->save($version);
335-
}
331+
}
332+
333+
$version = (new \DateTime())->getTimestamp();
334+
$this->output->writeln("New version of deployed files: {$version}");
335+
if (!$this->getOption(Options::DRY_RUN_OPTION)) {
336+
$this->versionStorage->save($version);
336337
}
337338

338339
if ($this->errorCount > 0) {

0 commit comments

Comments
 (0)