Ensure log file is closed
This commit is contained in:
parent
7c47060702
commit
638363ac8b
@ -546,6 +546,8 @@ class Formula
|
||||
Homebrew.dump_build_config(log)
|
||||
raise BuildError.new(self, cmd, args)
|
||||
end
|
||||
ensure
|
||||
log.close if log && !log.closed?
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user