Skip to content

Commit 3a6fd6e

Browse files
committed
ignoring patternlab-components when checking for an empty public dir
1 parent 500cc37 commit 3a6fd6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PatternLab/Fetch.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function fetchStarterKit($starterkit = "") {
6868
//get the path to the GH repo and validate it
6969
$tarballUrl = "https://github.com/".$org."/".$repo."/archive/".$tag.".tar.gz";
7070

71-
Console::writeInfo("downloading the starterkit...");
71+
Console::writeInfo("downloading the starterkit. this may take a few minutes...");
7272

7373
// try to download the given package
7474
if (!$package = @file_get_contents($tarballUrl)) {
@@ -177,7 +177,7 @@ protected function mirrorDist($sourceDir, $tempDirDist) {
177177
// set default vars
178178
$fsOptions = array();
179179
$emptyDir = true;
180-
$validFiles = array("README",".gitkeep",".DS_Store","styleguide");
180+
$validFiles = array("README",".gitkeep",".DS_Store","styleguide","patternlab-components");
181181

182182
// see if the source directory is empty
183183
if (is_dir($sourceDir)) {

0 commit comments

Comments
 (0)