diff options
author | Go MAEDA <maeda@farend.jp> | 2024-08-12 08:45:54 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-08-12 08:45:54 +0000 |
commit | b3d1deeece819ee25de1b3168393845780d6c51e (patch) | |
tree | 327c50539ec5bc580821764c91cee8c550a6ed8b /app/models/repository | |
parent | 6e21ae720909f9980e58c9411fb9ed8a81f06833 (diff) | |
download | redmine-b3d1deeece819ee25de1b3168393845780d6c51e.tar.gz redmine-b3d1deeece819ee25de1b3168393845780d6c51e.zip |
Fix RuboCop offense Layout/SpaceInsideParens, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22954 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/repository')
-rw-r--r-- | app/models/repository/cvs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository/cvs.rb b/app/models/repository/cvs.rb index 6797c1893..45ca9fbe8 100644 --- a/app/models/repository/cvs.rb +++ b/app/models/repository/cvs.rb @@ -59,7 +59,7 @@ class Repository::Cvs < Repository entries = scm.entries(path, rev.nil? ? nil : rev.committed_on) if entries entries.each do |entry| - if ( ! entry.lastrev.nil? ) && ( ! entry.lastrev.revision.nil? ) + if (! entry.lastrev.nil?) && (! entry.lastrev.revision.nil?) change = filechanges.where( :revision => entry.lastrev.revision, |