Skip to content

Application conditions should handle color codes #4770

Description

@jsoref

Summary

Currently, color escapes are partially rendered (most likely the raw color escapes are sent to the web browser which ignores the escape character and shows the rest)

Motivation

This is ugly:

rpc error: code = Unknown desc = Manifest generation error (cached): `sh -c if [ -z "$VALUES_FILE" ]; then echo "./app.dhall"; else echo "./$VALUES_FILE"; fi | dhall-to-yaml --omit-empty` failed exit status 1: ↳ ./missing-file.dhall �[1;31mError�[0m: Missing file ./missing-file.dhall 1│ ./missing-file.dhall (input):1:1

Specifically, �[1;31m

Proposal

Either add support for color parsing, or add enough to suppress color output

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:uiUser interfaces bugs and enhancementsenhancementNew feature or requesthelp-wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions