Skip to content

Commit

Permalink
Merge pull request #128 from magento-thunder/MAGECLOUD-1454-2002
Browse files Browse the repository at this point in the history
MAGECLOUD-1454: [2.2.x] Revert MAGECLOUD-1409
  • Loading branch information
shiftedreality authored Dec 20, 2017
2 parents 115854f + 541f0e2 commit 13c169f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Filesystem/RecoverableDirectoryList.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ public function getList(): array
if ($this->environment->isStaticDeployInBuild()) {
$recoverableDirs[] = [
self::OPTION_DIRECTORY => 'var/view_preprocessed',
self::OPTION_STRATEGY => $isSymlinkEnabled ?
StrategyInterface::STRATEGY_SYMLINK : StrategyInterface::STRATEGY_COPY
self::OPTION_STRATEGY => StrategyInterface::STRATEGY_COPY
];
$recoverableDirs[] = [
self::OPTION_DIRECTORY => 'pub/static',
Expand Down
2 changes: 1 addition & 1 deletion src/Test/Unit/Filesystem/RecoverableDirectoryListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function getListDataProvider()
],
[
'directory' => 'var/view_preprocessed',
'strategy' => 'symlink'
'strategy' => 'copy'
],
[
'directory' => 'pub/static',
Expand Down

0 comments on commit 13c169f

Please sign in to comment.