Skip to content

Commit 2d577a1

Browse files
committed
remove warning about annotations dir
1 parent ae116c7 commit 2d577a1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/PatternLab/Annotations.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,9 @@ public static function gather() {
5151
// set-up the comments store
5252
self::$store["comments"] = array();
5353

54-
// iterate over all of the files in the annotations dir
54+
// create the annotations dir if it doesn't exist
5555
if (!is_dir($annotationsDir)) {
56-
Console::writeWarning("<path>".Console::getHumanReadablePath($annotationsDir)."</path><warning> doesn't exist so you won't have annotations...");
5756
mkdir($annotationsDir);
58-
} else {
59-
60-
6157
}
6258

6359
// find the markdown-based annotations

0 commit comments

Comments
 (0)