We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b83cc00 commit bf0de8fCopy full SHA for bf0de8f
src/Magento/FunctionalTestingFramework/Util/ModulePathExtractor.php
@@ -84,7 +84,8 @@ private function splitKeyForParts($key)
84
private function extractKeyByPath($path)
85
{
86
$shortenedPath = dirname(dirname($path));
87
- if ($shortenedPath === '.' || !is_dir($shortenedPath)) {
+ // Ignore this path if we cannot go to parent directory two levels up
88
+ if (empty($shortenedPath) || $shortenedPath === '.') {
89
return '';
90
}
91
0 commit comments