summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-24 02:34:43 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-24 02:34:43 +0000
commitfb221e80691ec4bbdbea8b4e40af221839fb5d4c (patch)
treec2b1babcdad37b6019274c817a0a5a0cd3adbb9e /app
parent3b379c076dc5337955d7fb7cd7bfd4b0dd0a7677 (diff)
downloadredmine-fb221e80691ec4bbdbea8b4e40af221839fb5d4c.tar.gz
redmine-fb221e80691ec4bbdbea8b4e40af221839fb5d4c.zip
code cleanup: rubocop: fix Layout/SpaceInsideRangeLiteral in app/models/repository/cvs.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18507 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/repository/cvs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository/cvs.rb b/app/models/repository/cvs.rb
index e823275e4..1ef8c2223 100644
--- a/app/models/repository/cvs.rb
+++ b/app/models/repository/cvs.rb
@@ -146,7 +146,7 @@ class Repository::Cvs < Repository
cmt = Changeset.normalize_comments(revision.message, repo_log_encoding)
author_utf8 = Changeset.to_utf8(revision.author, repo_log_encoding)
cs = changesets.where(
- :committed_on => tmp_time - time_delta .. tmp_time + time_delta,
+ :committed_on => (tmp_time - time_delta)..(tmp_time + time_delta),
:committer => author_utf8,
:comments => cmt
).first