Closed dblandin closed 8 years ago
LGTM - do we have any test coverage that we could improve here?
One minor thought. LGTM either way.
LGTM - do we have any test coverage that we could improve here?
@GordonDiggs I haven't had much luck updating the test fixture with a BOM signature, causing tests to fail. I've also had trouble reproducing the error locally using known repos that have encountered the error described in #20.
So I'm hoping this works.
Files encoded with
BOM
signatures need a bit more care when they're read and later encoded withutf-8
. This PR updates the read call to use theutf-8-sig
encoding to adjust for theseBOM
signatures.@codeclimate/review :mag_right: