@@ -48,7 +48,7 @@ |
||
48 | 48 | * @param File $file |
49 | 49 | * @return array|Step[] |
50 | 50 | */ |
51 | - $iter = function (File $file) { |
|
51 | + $iter = function(File $file) { |
|
52 | 52 | $ids = $file->getPipelineIds(); |
53 | 53 | $return = array(); |
54 | 54 | foreach ($ids as $id) { |
@@ -64,9 +64,15 @@ |
||
64 | 64 | $show = $args->hasOption('show'); |
65 | 65 | $list = $args->hasOption('list'); |
66 | 66 | |
67 | - if ($images) return $this->shower()->showImages(); |
|
68 | - if ($show) return $this->shower()->showPipelines(); |
|
69 | - if ($list) return $this->shower()->showPipelineIds(); |
|
67 | + if ($images) { |
|
68 | + return $this->shower()->showImages(); |
|
69 | + } |
|
70 | + if ($show) { |
|
71 | + return $this->shower()->showPipelines(); |
|
72 | + } |
|
73 | + if ($list) { |
|
74 | + return $this->shower()->showPipelineIds(); |
|
75 | + } |
|
70 | 76 | |
71 | 77 | return null; |
72 | 78 | } |