Skip to content

Commit 46ae845

Browse files
committedNov 8, 2017
Disabling unhelpful console warning.
1 parent ac0e138 commit 46ae845

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/PatternLab/PatternData/Helpers/LineageHelper.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ public function run() {
107107

108108
if (strpos($lineage, '/') === false) {
109109
$fileName = $patternStoreData["pathName"].".".$patternExtension;
110-
Console::writeWarning("you may have a typo in ".$fileName.". `".$lineage."` is not a valid pattern...");
110+
// This doesn't work very consistently. @todo Improve error reporting when trying to include a Twig file that doesn't exist (b/c doing so simply outputs the path to the file you were trying to include, giving no error to user that include path had a typo)
111+
// Console::writeWarning("you may have a typo in ".$fileName.". `".$lineage."` is not a valid pattern...");
111112
}
112113

113114
}

0 commit comments

Comments
 (0)
Please sign in to comment.