mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
3c1df959c5
On Windows, `inspec archive` would sometimes produce incorrect archive files. These would look fine, as tgz files, but would not execute correctly. This would lead to bewildering error messages like this one: ``` Unable to parse inspec.yml: line 1, control characters are not allowed ``` Fix it by treating the files as binary before writing them to get around any encoding issues, since the stream handler is a raw io object anyway. Closely related to https://github.com/chef/inspec/pull/1906 Signed-off-by: Dominik Richter <dominik.richter@gmail.com> |
||
---|---|---|
.. | ||
bundles | ||
fetchers | ||
inspec | ||
matchers | ||
resources | ||
source_readers | ||
utils | ||
inspec.rb |