Skip to content

Commit 585924c

Browse files
committed
Fixing Yaml Pseudo Pattern Parse Error
1 parent a01366b commit 585924c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PatternLab/PatternData/Rules/PseudoPatternRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function run($depth, $ext, $path, $pathName, $name) {
129129
} else {
130130

131131
try {
132-
$patternDataBase = YAML::parse($file);
132+
$patternDataBase = YAML::parse($data);
133133
} catch (ParseException $e) {
134134
printf("unable to parse ".$pathNameClean.": %s..\n", $e->getMessage());
135135
}

0 commit comments

Comments
 (0)