Skip to content

Commit 351f378

Browse files
author
okarpenko
committed
MAGETWO-39965: Invalid path parsing in exclude list during bundle collecting
1 parent b2e6843 commit 351f378

File tree

1 file changed

+8
-0
lines changed
  • lib/internal/Magento/Framework/View/Asset/Bundle

1 file changed

+8
-0
lines changed

lib/internal/Magento/Framework/View/Asset/Bundle/Manager.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ protected function isExcluded(LocalInterface $asset)
8686
}
8787

8888
/**
89+
* Check if asset file in excluded directory
90+
*
8991
* @param string $directoryPath
9092
* @param LocalInterface $asset
9193
* @return bool
@@ -106,6 +108,8 @@ protected function isExcludedDirectory($directoryPath, $asset)
106108
}
107109

108110
/**
111+
* Check if asset file is excluded
112+
*
109113
* @param string $filePath
110114
* @param LocalInterface $asset
111115
* @return bool
@@ -121,6 +125,8 @@ protected function isExcludedFile($filePath, $asset)
121125
}
122126

123127
/**
128+
* Compare asset module with excluded module
129+
*
124130
* @param array $filePathInfo
125131
* @param LocalInterface $asset
126132
* @return bool
@@ -137,6 +143,8 @@ protected function compareModules($filePathInfo, $asset)
137143
}
138144

139145
/**
146+
* Get excluded module and path from complex string
147+
*
140148
* @param string $path
141149
* @return array|bool
142150
*/

0 commit comments

Comments
 (0)