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 00e3c4a commit f9e0b1eCopy full SHA for f9e0b1e
src/PatternLab/Builder.php
@@ -16,6 +16,7 @@
16
use \PatternLab\Config;
17
use \PatternLab\Data;
18
use \PatternLab\Dispatcher;
19
+use \PatternLab\FileUtil;
20
use \PatternLab\Parsers\Documentation;
21
use \PatternLab\PatternData\Exporters\NavItemsExporter;
22
use \PatternLab\PatternData\Exporters\PatternPartialsExporter;
@@ -121,7 +122,7 @@ protected function generateIndex() {
121
122
123
// double-check that the data directory exists
124
if (!is_dir($dataDir)) {
- mkdir($dataDir);
125
+ FileUtil::makeDir($dataDir);
126
}
127
128
$output = "";
0 commit comments