We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe07d6 commit 69c7815Copy full SHA for 69c7815
src/PatternLab/PatternEngine/Twig/TwigUtil.php
@@ -18,6 +18,15 @@
18
19
class TwigUtil {
20
21
+ /**
22
+ * Write a warning if a dir doesn't exist
23
+ * @param {String} the dir that doesn't exist
24
+ */
25
+ protected static function dirNotExist($dir) {
26
+ $dirHR = Console::getHumanReadablePath($dir);
27
+ Console::writeWarning("the path <path>".$dirHR."</path> doesn't exist so filters won't be loaded...");
28
+ }
29
+
30
/**
31
* Load custom date formats for Twig
32
* @param {Instance} an instance of the twig engine
0 commit comments