Skip to content

Commit

Permalink
Merge pull request #103 from dduugg/rubocop-cleanup
Browse files Browse the repository at this point in the history
Fix Style/InvertibleUnlessCondition violation
  • Loading branch information
issyl0 authored Apr 24, 2023
2 parents 7e32936 + 44e1844 commit 9e57452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/autoupdate/status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def autoupdate_inadvisably_old?
creation = File.birthtime(Autoupdate::Core.location/"brew_autoupdate").to_date
days_old = (Date.today - creation).to_i

return unless days_old >= 90
return if days_old < 90

<<~EOS
Autoupdate has been running for more than 90 days. Please consider
Expand Down

0 comments on commit 9e57452

Please sign in to comment.