mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix undefined method error following CannotInstallFormulaError
This commit is contained in:
parent
bf7b043392
commit
9d5f4e8ed5
@ -299,6 +299,7 @@ module Homebrew
|
|||||||
fi
|
fi
|
||||||
rescue CannotInstallFormulaError => e
|
rescue CannotInstallFormulaError => e
|
||||||
ofail e.message
|
ofail e.message
|
||||||
|
nil
|
||||||
rescue UnsatisfiedRequirements, DownloadError, ChecksumMismatchError => e
|
rescue UnsatisfiedRequirements, DownloadError, ChecksumMismatchError => e
|
||||||
ofail "#{f}: #{e}"
|
ofail "#{f}: #{e}"
|
||||||
nil
|
nil
|
||||||
|
@ -73,6 +73,7 @@ module Homebrew
|
|||||||
fi
|
fi
|
||||||
rescue CannotInstallFormulaError => e
|
rescue CannotInstallFormulaError => e
|
||||||
ofail e
|
ofail e
|
||||||
|
nil
|
||||||
rescue UnsatisfiedRequirements, DownloadError => e
|
rescue UnsatisfiedRequirements, DownloadError => e
|
||||||
ofail "#{formula}: #{e}"
|
ofail "#{formula}: #{e}"
|
||||||
nil
|
nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user