Skip to content

Following from #53 #1

@Vitalina12512

Description

@Vitalina12512

Following from #53

The main problem is that when the process is spawned from Nodejs, the colors are not shown because the terminal is not a tty. This is one of the first checks done by supports-color. So we can pass always --colors to enable color by default wihout environment and test our own checks for color disabling. The rest of the checks done by supports-color should be OK.

Also, I've removed execa development dependency as it is only used here, ofuscating things I think.

Originally posted by @mondeja in simple-icons/svglint#55

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