Skip to content

Running audit:code with CSV output on binary files fails #94

@joshpencheon

Description

@joshpencheon

The diff_lines measure fails to compute when the diff output is without valid encoding. We should likely coerce the captured output to be handed as a binary string, with force_encoding('BINARY'). Counting "lines" in a binary diff is obviously a bit moot, though...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions