diff options
-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, |