satisfy codacy: correct indentation

This commit is contained in:
tobiasKaminsky 2017-09-23 09:20:54 +02:00
parent 1da39384d8
commit 69faf69b63
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -129,10 +129,10 @@ else
if CHECK_WARNINGS == true
previous_warning_string = previous_error_warning_string.match(/[0-9]* warning[s]?/)
if previous_warning_string.nil?
previous_warning_string = "0 warnings"
else
previous_warning_string = previous_warning_string[0]
end
previous_warning_string = "0 warnings"
else
previous_warning_string = previous_warning_string[0]
end
previous_warning_count = previous_warning_string.match(/[0-9]*/)[0].to_i
puts "previous warnings: " + previous_warning_count.to_s
end