From: Toshi MARUYAMA Date: Sat, 23 Nov 2019 15:11:28 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/repository/subve... X-Git-Tag: 4.2.0~1426 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cff0fb1855ace5fbca5c41d9df7d8497d9d3b7dd;p=redmine.git 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 --- diff --git a/app/models/repository/subversion.rb b/app/models/repository/subversion.rb index 0f01f863f..f6e37fbd6 100644 --- a/app/models/repository/subversion.rb +++ b/app/models/repository/subversion.rb @@ -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