Skip to content

Commit 24d93eb

Browse files
committed
Fix lint issues
1 parent d219d8a commit 24d93eb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

plans/util/code_sync_status.pp

+3-4
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
out::message(
99
format::table({
1010
title => 'Summary',
11-
rows => $data['environments'].reduce([
12-
["Overall sync status", $data['sync']]]) |$memo, $val| {
13-
$memo << ["${val[0]} environment in sync", $val[1]['sync']] }}))
11+
rows => $data['environments'].reduce([['Overall sync status', $data['sync']]]) |$memo, $val| {
12+
$memo << ["${val[0]} environment in sync", $val[1]['sync']] }}))
1413

1514
# Print a server status table, one for each environment
1615
$data['environments'].each |$env, $_| {
@@ -19,7 +18,7 @@
1918
title => "Server sync status - ${env}",
2019
head => ['Server', 'In Sync', 'Commit'],
2120
rows => $data['environments'][$env]['servers'].reduce([]) |$memo, $val| {
22-
$memo << [$val[0], $val[1]['sync'], $val[1]['commit']] }}))
21+
$memo << [$val[0], $val[1]['sync'], $val[1]['commit']] }}))
2322
}
2423

2524
return('Done')

0 commit comments

Comments
 (0)