You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/PatternLab/PatternData.php
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,9 @@ public static function gather($options = array()) {
113
113
114
114
// iterate over the patterns & related data and regenerate the entire site if they've changed
115
115
// seems a little silly to use symfony finder here. not really giving me any power
116
+
if (!is_dir(Config::getOption("patternSourceDir"))) {
117
+
Console::writeError("having patterns is important. please make sure you've installed a starterkit and/or that ".Console::getHumanReadablePath(Config::getOption("patternSourceDir"))." exists...");
118
+
}
116
119
$patternObjects = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator(Config::getOption("patternSourceDir")), \RecursiveIteratorIterator::SELF_FIRST);
0 commit comments