Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Deno should be run with colored terminal logging output turned off #48

Closed

Description

@grempe

Logging of Deno errors on Github Actions tabs currenty logs Deno output with messy colored terminal output that can't be rendered in the github log tailing UI.

https://share.getcloudapp.com/GGuWQrnk

The deno command should be run with color disabled as described in the docs here:

https://deno.land/manual/getting_started/setup_your_environment#environmental-variables

Activity

  1. irealva commented on Jul 12, 2021

    @irealva
    Contributor

    Thanks for suggesting this.

    Quick question: so we have the --allow-env flag enabled in our Deno run command. Are you not able to create an environment secret in your GitHub repo running the action with the variable name NO_COLOR and set to true? Does this not work?

  2. grempe commented on Jul 12, 2021

    @grempe
    Author

    The point is that deno should always be run without colored terminal output in the context of a Github action.

    Not only if the developer pushing action code is aware of how to work around it. So IMHO it should be the default for flat

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions