Skip to content

Commit f30592d

Browse files
committed
making sure patternlab-components is ignored
1 parent 69d17f8 commit f30592d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/PatternLab/InstallerUtil.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ protected static function pathExists($packageName,$path) {
468468
// see if the directory is essentially empty
469469
$files = scandir($path);
470470
foreach ($files as $key => $file) {
471-
$ignore = array("..",".",".gitkeep","README",".DS_Store");
471+
$ignore = array("..",".",".gitkeep","README",".DS_Store","patternlab-components");
472472
$file = explode("/",$file);
473473
if (in_array($file[count($file)-1],$ignore)) {
474474
unset($files[$key]);

0 commit comments

Comments
 (0)