Skip to content

Commit

Permalink
https://github.com/mage2pro/pwa-studio-2024-02-24-backend/issues/1
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Feb 24, 2024
1 parent 5274d07 commit 513b988
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ public function addExcludePatterns(array $excludePatterns)
public function getList($path)
{
// phpcs:ignore
$realPath = realpath($path);
# 2024-02-24 Dmitrii Fediuk https://upwork.com/fl/mage2pro
# 1) "Adapt Magento to Windows": https://github.com/mage2pro/pwa-studio-2024-02-24-backend/issues/1
# 2) "How to fix intereceptors generation on `bin/magento setup:di:compile` in Magento ≥ 2.2 in Windows?":
# https://mage2.pro/t/4702
$realPath = str_replace(DIRECTORY_SEPARATOR, '/', realpath($path));
$isGeneration = strpos($realPath, $this->generationDirectory) === 0;

// Generation folders should not have their results cached since they may actually change during compile
Expand Down

0 comments on commit 513b988

Please sign in to comment.