1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-21 07:51:12 +00:00

add empty line after guard clause to lib/redmine/scm/adapters/abstract_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19959 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-08-09 15:55:59 +00:00
parent 4cc150bcfa
commit b8057a88ec

View File

@ -278,6 +278,7 @@ module Redmine
def scm_iconv(to, from, str) def scm_iconv(to, from, str)
return if str.nil? return if str.nil?
return str if to == from && str.encoding.to_s == from return str if to == from && str.encoding.to_s == from
str = str.dup str = str.dup
str.force_encoding(from) str.force_encoding(from)
begin begin