Fix new rubocop warnings

This commit is contained in:
Tom Hughes 2023-12-05 18:13:13 +00:00
parent fe16876beb
commit 0c2e471708
7 changed files with 34 additions and 34 deletions

View file

@ -72,7 +72,7 @@ class Changeset < ApplicationRecord
# note that this may not be a hard limit - due to timing changes and
# concurrency it is possible that some changesets may be slightly
# longer than strictly allowed or have slightly more changes in them.
((closed_at > Time.now.utc) && (num_changes <= MAX_ELEMENTS))
(closed_at > Time.now.utc) && (num_changes <= MAX_ELEMENTS)
end
def set_closed_time_now