mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Use BuildError#formula
instead of args
.
This commit is contained in:
parent
9176c62246
commit
a895f398ed
@ -150,7 +150,7 @@ rescue BuildError => e
|
|||||||
Utils::Analytics.report_build_error(e)
|
Utils::Analytics.report_build_error(e)
|
||||||
e.dump
|
e.dump
|
||||||
|
|
||||||
output_unsupported_error if Homebrew.args.HEAD? || e.formula.deprecated? || e.formula.disabled?
|
output_unsupported_error if e.formula.head? || e.formula.deprecated? || e.formula.disabled?
|
||||||
|
|
||||||
exit 1
|
exit 1
|
||||||
rescue RuntimeError, SystemCallError => e
|
rescue RuntimeError, SystemCallError => e
|
||||||
|
Loading…
x
Reference in New Issue
Block a user