From: Sven Schöling Date: Thu, 16 Jul 2015 13:25:29 +0000 (+0200) Subject: migrate_menu: trailing whitespace im yaml dump X-Git-Tag: release-3.3.0beta~31^2~18 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ac3b12f75f3909f1e72ecc17ceb0fccff953184d;p=kivitendo-erp.git migrate_menu: trailing whitespace im yaml dump --- diff --git a/scripts/migrate_menu.pl b/scripts/migrate_menu.pl index a0cdae80d..a27a07c40 100644 --- a/scripts/migrate_menu.pl +++ b/scripts/migrate_menu.pl @@ -143,9 +143,9 @@ sub yaml_dump { my $first = 0; for my $key (@order) { next unless exists $node->{$key}; - $yaml .= ($first++ ? ' ' : '- ') . $key . ": "; + $yaml .= ($first++ ? ' ' : '- ') . $key . ":"; if (!ref $node->{$key}) { - $yaml .= $node->{$key} . "\n"; + $yaml .= ' ' . $node->{$key} . "\n"; } else { $yaml .= "\n"; for ('action', grep !/^action$/, keys %{ $node->{$key} }) {