Skip to content

Commit 13c169f

Browse files
Merge pull request #128 from magento-thunder/MAGECLOUD-1454-2002
MAGECLOUD-1454: [2.2.x] Revert MAGECLOUD-1409
2 parents 115854f + 541f0e2 commit 13c169f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Filesystem/RecoverableDirectoryList.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ public function getList(): array
5252
if ($this->environment->isStaticDeployInBuild()) {
5353
$recoverableDirs[] = [
5454
self::OPTION_DIRECTORY => 'var/view_preprocessed',
55-
self::OPTION_STRATEGY => $isSymlinkEnabled ?
56-
StrategyInterface::STRATEGY_SYMLINK : StrategyInterface::STRATEGY_COPY
55+
self::OPTION_STRATEGY => StrategyInterface::STRATEGY_COPY
5756
];
5857
$recoverableDirs[] = [
5958
self::OPTION_DIRECTORY => 'pub/static',

src/Test/Unit/Filesystem/RecoverableDirectoryListTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function getListDataProvider()
6969
],
7070
[
7171
'directory' => 'var/view_preprocessed',
72-
'strategy' => 'symlink'
72+
'strategy' => 'copy'
7373
],
7474
[
7575
'directory' => 'pub/static',

0 commit comments

Comments
 (0)