Skip to content

Commit 7cb258e

Browse files
committed
fixing the config init
1 parent 4c86150 commit 7cb258e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PatternLab/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public static function init($baseDir = "", $verbose = true) {
155155
// set the default config using the pattern lab config
156156
try {
157157
$defaultOptions = Yaml::parse(file_get_contents(self::$plConfigPath));
158-
$defaultOptions = array_merge(self::$options, $defaultOptions);
158+
self::$options = array_merge(self::$options, $defaultOptions);
159159
} catch (ParseException $e) {
160160
Console::writeError("Config parse error in <path>".Console::getHumanReadablePath(self::$plConfigPath)."</path>: ".$e->getMessage());
161161
}

0 commit comments

Comments
 (0)