diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index cdd5ade40..84baf94e1 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -84,12 +84,6 @@ Layout/IndentationWidth: - 'db/migrate/20120115143126_set_default_repositories.rb' - '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 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,