summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChibuikem Amaechi <cramaechi@me.com>2018-01-11 16:03:32 -0600
committerChibuikem Amaechi <cramaechi@me.com>2018-01-11 16:03:32 -0600
commit31925d596972691a127d2441d124afe6667fe755 (patch)
tree2c1ef9590418d8e506c9cdc5b3e16ab5d47adfe3
parenta1c2fa3d3f64d85e16ce45f66c3d1f8b516799ce (diff)
downloadchef-31925d596972691a127d2441d124afe6667fe755.tar.gz
Fix Indentation
Signed-off-by: Chibuikem Amaechi <cramaechi@me.com>
-rw-r--r--lib/chef/knife/core/status_presenter.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/knife/core/status_presenter.rb b/lib/chef/knife/core/status_presenter.rb
index 12f375365b..bb6766c6ac 100644
--- a/lib/chef/knife/core/status_presenter.rb
+++ b/lib/chef/knife/core/status_presenter.rb
@@ -112,12 +112,12 @@ class Chef
elsif hours >= 1
color = :yellow
text = hours_text
- elsif minutes >= 1
+ elsif minutes >= 1
color = :green
text = minutes_text
- else
- color = :green
- text = seconds_text
+ else
+ color = :green
+ text = seconds_text
end
line_parts = Array.new