1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

code cleanup: rubocop: fix Layout/LeadingCommentSpace in lib/redmine/scm/adapters/cvs_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18417 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-08-31 05:53:32 +00:00
parent 41b5a3c3a0
commit d5764a2537
2 changed files with 2 additions and 3 deletions

View File

@ -319,7 +319,6 @@ Layout/LeadingCommentSpace:
- 'app/controllers/repositories_controller.rb'
- 'app/models/repository.rb'
- 'lib/diff.rb'
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
- 'lib/redmine/scm/adapters/git_adapter.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
- 'test/integration/api_test/issues_test.rb'

View File

@ -182,9 +182,9 @@ module Redmine
entry_name = normalize_path(File.basename($1))
logger.debug("Path #{entry_path} <=> Name #{entry_name}")
elsif /^head: (.+)$/ =~ line
entry_headRev = $1 #unless entry.nil?
entry_headRev = $1
elsif /^symbolic names:/.match?(line)
state = "symbolic" #unless entry.nil?
state = "symbolic"
elsif /^#{STARTLOG}/.match?(line)
commit_log = ""
state = "revision"