diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 54046e48db..1182e73285 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -56,7 +56,7 @@ end class FormulaText def initialize path - @text = path.open('r') { |f| f.read } + @text = path.open("rb", &:read) end def without_patch