1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/repository/subversion.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19214 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-11-23 15:11:28 +00:00
parent afb40e740f
commit cff0fb1855

View File

@ -91,6 +91,7 @@ class Repository::Subversion < Repository
def load_entries_changesets(entries)
return unless entries
entries_with_identifier =
entries.select {|entry| entry.lastrev && entry.lastrev.identifier.present?}
identifiers = entries_with_identifier.map {|entry| entry.lastrev.identifier}.compact.uniq