Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
This repository was archived by the owner on May 21, 2025. It is now read-only.

Colorer characters printed out on windows #226

@raczben

Description

@raczben

Here is the output of codecov, where there are some unwanted characters like �[90m==>�[0m

D:\foo>codecov

      _____          _
     / ____|        | |
    | |     ___   __| | ___  ___ _____   __
    | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
    | |___| (_) | (_| |  __/ (_| (_) \ V /
     \_____\___/ \____|\___|\___\___/ \_/
                                    v2.0.15

�[90m==>�[0m Detecting CI provider
  -> Got branch from git/hg
  -> Got sha from git/hg
�[90m==>�[0m Preparing upload
The filename, directory name, or volume label syntax is incorrect.
    Error running `cd 'D:\foo' && git ls-files`: None
�[41mError:�[0m�[91m Missing repository upload token�[0m

�[42mTip:�[0m�[32m See all example repositories: https://github.com/codecov?query=example�[0m
�[92mSupport channels:�[0m
  Email:   hello@codecov.io
  IRC:     #codecov
  Gitter:  https://gitter.im/codecov/support
  Twitter: @codecov

I use:

  • Win 10.0.18363 Build 18363 (both cmd and powershell)
  • Python 3.7.4
  • Codecov py-v2.0.15 - https://codecov.io/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions