lib/sigh/local_manage.rb in sigh-1.4.1 vs lib/sigh/local_manage.rb in sigh-1.5.0
- old
+ new
@@ -75,10 +75,10 @@
end
UI.message ""
UI.message "Summary"
UI.message "#{profiles.count} installed profiles"
- UI.message "#{profiles_expired.count} are expired".red
+ UI.message "#{profiles_expired.count} are expired".red if profiles_expired.count > 0
UI.message "#{profiles_soon.count} are valid but will expire within 30 days".yellow
UI.message "#{profiles_valid.count} are valid".green
UI.message "You can remove all expired profiles using `sigh manage -e`" if profiles_expired.count > 0
end