Merge pull request #18963 from Homebrew/patch-show-failed-output

patch: restore output from failed patch
This commit is contained in:
Mike McQuaid 2024-12-20 08:30:36 +00:00 committed by GitHub
commit b35ff5df7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -150,6 +150,7 @@ class ExternalPatch
end
end
rescue ErrorDuringExecution => e
onoe e
f = resource.owner.owner
cmd, *args = e.cmd
raise BuildError.new(f, cmd, args, ENV.to_hash)