Skip to content

Commit 6b9c468

Browse files
committed
simplifying the config update
1 parent d4da765 commit 6b9c468

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/PatternLab/InstallerUtil.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,7 @@ public static function parseComposerExtraList($composerExtra, $name, $pathDist)
158158
// see if we need to modify the config
159159
if (isset($composerExtra["config"])) {
160160

161-
print_r($composerExtra["config"]);
162-
163-
foreach ($composerExtra["config"] as $optionInfo) {
164-
165-
// get config info
166-
$option = key($optionInfo);
167-
$value = $optionInfo[$option];
168-
169-
Console::writeLine($option.": ".$value);
161+
foreach ($composerExtra["config"] as $option => $value) {
170162

171163
// update the config option
172164
Config::updateConfigOption($option,$value);

0 commit comments

Comments
 (0)