Skip to content

Commit

Permalink
set inline for yaml dump
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Pichler committed Mar 3, 2016
1 parent 036e975 commit 0b5ec83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mage/Command/BuiltIn/AddCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected function addEnvironment()
$config = $this->getDefaultConfiguration($withReleases);

$dumper = new Dumper();
$result = file_put_contents($environmentConfigFile, $dumper->dump($config));
$result = file_put_contents($environmentConfigFile, $dumper->dump($config, 3));

if ($result) {
Console::output('<light_green>Success!!</light_green> Environment config file for <bold>' . $environmentName . '</bold> created successfully at <blue>' . $environmentConfigFile . '</blue>');
Expand Down

0 comments on commit 0b5ec83

Please sign in to comment.