projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf7f935
)
migrate_menu: trailing whitespace im yaml dump
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 16 Jul 2015 13:25:29 +0000
(15:25 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 20 Jul 2015 14:37:27 +0000
(16:37 +0200)
scripts/migrate_menu.pl
patch
|
blob
|
history
diff --git
a/scripts/migrate_menu.pl
b/scripts/migrate_menu.pl
index
a0cdae8
..
a27a07c
100644
(file)
--- 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} }) {