Lint/ElseAlignment: ignore some bugged autocorrections.

This commit is contained in:
Mike McQuaid 2019-10-14 09:03:02 +01:00
parent 1f6168fe8a
commit cbf458ea9c
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
2 changed files with 4 additions and 4 deletions

View File

@ -369,8 +369,8 @@ class FormulaInstaller
$stderr.puts "Please report this to the #{formula.tap} tap!" $stderr.puts "Please report this to the #{formula.tap} tap!"
false false
else else # rubocop:disable Lint/ElseAlignment
f.linked_keg.exist? && f.opt_prefix.exist? f.linked_keg.exist? && f.opt_prefix.exist?
end end
raise FormulaConflictError.new(formula, conflicts) unless conflicts.empty? raise FormulaConflictError.new(formula, conflicts) unless conflicts.empty?

View File

@ -53,8 +53,8 @@ module Utils
write.close write.close
exit! exit!
else else # rubocop:disable Lint/ElseAlignment
exit!(true) exit!(true)
end end
ignore_interrupts(:quietly) do # the child will receive the interrupt and marshal it back ignore_interrupts(:quietly) do # the child will receive the interrupt and marshal it back