summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-06-29 00:39:58 +0000
committerGo MAEDA <maeda@farend.jp>2023-06-29 00:39:58 +0000
commite0e751f5bc07c2ad397ebb5b0ab28d802872a602 (patch)
tree8baf55a18ce3f112e89e18c594da05e1f6f79fdc /lib/redmine/scm
parenta06f7498352f471c78ee1579f7791a7adec22b0f (diff)
downloadredmine-e0e751f5bc07c2ad397ebb5b0ab28d802872a602.tar.gz
redmine-e0e751f5bc07c2ad397ebb5b0ab28d802872a602.zip
Fix RuboCop offense Style/RedundantRegexpArgument (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22262 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm')
-rw-r--r--lib/redmine/scm/adapters/cvs_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/cvs_adapter.rb b/lib/redmine/scm/adapters/cvs_adapter.rb
index 9fdc2a307..4d694a6ab 100644
--- a/lib/redmine/scm/adapters/cvs_adapter.rb
+++ b/lib/redmine/scm/adapters/cvs_adapter.rb
@@ -364,7 +364,7 @@ module Redmine
end
def normalize_cvs_path(path)
- normalize_path(path.gsub(/Attic\//,''))
+ normalize_path(path.gsub("Attic/",''))
end
def normalize_path(path)