diff options
author | Go MAEDA <maeda@farend.jp> | 2024-08-12 08:11:12 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-08-12 08:11:12 +0000 |
commit | b224d878c33d24df81650667d18035652a18911f (patch) | |
tree | f2891a1e1a9ac12258b82914842b5a06c7923edf | |
parent | 79873291d724025b2082f1d42cabc5c4504c5e0e (diff) | |
download | redmine-b224d878c33d24df81650667d18035652a18911f.tar.gz redmine-b224d878c33d24df81650667d18035652a18911f.zip |
Remove commented-out dead code and fix RuboCop offense Layout/LeadingCommentSpace (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22952 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | .rubocop_todo.yml | 6 | ||||
-rw-r--r-- | lib/redmine/scm/adapters/cvs_adapter.rb | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index cdd5ade40..84baf94e1 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -85,12 +85,6 @@ Layout/IndentationWidth: - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment. -Layout/LeadingCommentSpace: - Exclude: - - 'lib/redmine/scm/adapters/cvs_adapter.rb' - -# This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: aligned, indented Layout/LineEndStringConcatenationIndentation: diff --git a/lib/redmine/scm/adapters/cvs_adapter.rb b/lib/redmine/scm/adapters/cvs_adapter.rb index 2f157d10b..92bae7a06 100644 --- a/lib/redmine/scm/adapters/cvs_adapter.rb +++ b/lib/redmine/scm/adapters/cvs_adapter.rb @@ -113,7 +113,6 @@ module Redmine Entry.new( { :name => scm_iconv('UTF-8', @path_encoding, fields[-5]), - #:path => fields[-4].include?(path)?fields[-4]:(path + "/"+ fields[-4]), :path => scm_iconv('UTF-8', @path_encoding, "#{path_locale}/#{fields[-5]}"), :kind => 'file', :size => nil, |