Skip to content

Commit c1e93e9

Browse files
committed
swapping old error messaging
1 parent 5d9b9c5 commit c1e93e9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/PatternLab/PatternEngine/Twig/TwigUtil.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,7 @@ public static function loadMacros($instance) {
169169

170170
} else {
171171

172-
// write warning because the macro dir doesn't exist
173-
$macroDirHR = Console::getHumanReadablePath($macroDir);
174-
Console::writeWarning("the path <path>".$macroDirHR."</path> doesn't exist so macros won't be loaded for the ".$instanceType." loader...");
172+
self::dirNotExist($macroDir);
175173

176174
}
177175

0 commit comments

Comments
 (0)