From a99b4e6d1579ae37a35d37d206c09d2533454433 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 21 Nov 2019 10:56:24 +0000 Subject: 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 --- lib/redmine/scm/adapters/subversion_adapter.rb | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3