Skip to content

Wrong mime type for sh ? #150

@jbleyel

Description

@jbleyel

puremagic.magic_file("name.sh")
[PureMagicWithConfidence(byte_match=None, offset=None, extension='.txt', mime_type='text/plain', name='ascii text, with LF line terminators', confidence=0.9)]

The shell script is not detected as shell.

Is this a bug?

Im using version 2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions