diff options
| author | Tim D. Smith | 2016-10-15 21:21:08 -0700 |
|---|---|---|
| committer | Tim D. Smith | 2016-10-15 21:21:08 -0700 |
| commit | 371cd0dd3e6d31ef96b2e000a4fa9519938b0aab (patch) | |
| tree | 37d381e7c20ca4cb0f76fe03cb6950360746ad02 /Library/Homebrew/cask/spec/support/Casks/with-embedded-binary.rb | |
| parent | 7ac90613fd5a9719a03e180947522bfd4a8790be (diff) | |
| download | brew-371cd0dd3e6d31ef96b2e000a4fa9519938b0aab.tar.bz2 | |
Don't choke on invalid UTF-8 in `file` output
Sometimes `file` output contains data from the file under examination,
which may include binary data that does not represent valid UTF-8
codepoints. String#split dies if it doesn't understand the encoding, so
tell Ruby to treat `file` output as a bytestring.
Diffstat (limited to 'Library/Homebrew/cask/spec/support/Casks/with-embedded-binary.rb')
0 files changed, 0 insertions, 0 deletions
