1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 19:47:14 +00:00

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
This commit is contained in:
Go MAEDA 2024-08-12 08:11:12 +00:00
parent 79873291d7
commit b224d878c3
2 changed files with 0 additions and 7 deletions

View File

@ -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

View File

@ -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,