diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-21 10:56:24 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-21 10:56:24 +0000 |
commit | a99b4e6d1579ae37a35d37d206c09d2533454433 (patch) | |
tree | 52ebe6372b5f4667ec2a29c95b5af6ed17f7672a /lib | |
parent | 4bb24015e636593deddc71e52145bfa95c35e412 (diff) | |
download | redmine-a99b4e6d1579ae37a35d37d206c09d2533454433.tar.gz redmine-a99b4e6d1579ae37a35d37d206c09d2533454433.zip |
cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/scm/adapters/subversion_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19129 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/scm/adapters/subversion_adapter.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/redmine/scm/adapters/subversion_adapter.rb b/lib/redmine/scm/adapters/subversion_adapter.rb index 07f9af48e..a395df4ae 100644 --- a/lib/redmine/scm/adapters/subversion_adapter.rb +++ b/lib/redmine/scm/adapters/subversion_adapter.rb @@ -228,12 +228,14 @@ module Redmine io.each_line do |line| next unless line =~ %r{^\s*(\d+)\s*(\S+)\s(.*)$} rev = $1 - blame.add_line($3.rstrip, - Revision.new( - :identifier => rev, - :revision => rev, - :author => $2.strip - )) + blame.add_line( + $3.rstrip, + Revision.new( + :identifier => rev, + :revision => rev, + :author => $2.strip + ) + ) end end return nil if $? && $?.exitstatus != 0 |