Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: inspec archive for tgz files on windows
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 #1906
- Loading branch information