dispatchrun / dispatch

Entrypoint of the Dispatch ecosystem.
11 stars 1 forks source link

Fixes #66 by forcing lipgloss to have no color output #67

Closed Tyl13 closed 2 months ago

Tyl13 commented 3 months ago

This imports both lipgloss and termenv, and then uses SetColorProfile() to use termenv.Ascii which has no-color. I placed this within the setupConfig so it applies to all tests that end up calling the setupConfig(). It could also be moved to directly within TestSwitchCommand(). I'm not sure which you would prefer.

This fixes Issue #66.

chicoxyzzy commented 2 months ago

@Tyl13 may I ask you to rebase the branch on main? 🙏

Tyl13 commented 2 months ago

Yeah @chicoxyzzy, I will rebase it either today or tomorrow.

Tyl13 commented 2 months ago

@chicoxyzzy rebased. Just needs retested, but tests passed locally on my machine.

chicoxyzzy commented 2 months ago

Thank you @Tyl13!