Skip to content

Conversation

@jinjaeyeon
Copy link
Contributor

@jinjaeyeon jinjaeyeon commented Oct 17, 2025

lib/tailwind.ex Outdated
Comment on lines 172 to 173
{out, 0} <- System.cmd(path, ["--help"]),
out <- Regex.replace(~r/(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]/, out, ""),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please try this instead?

Suggested change
{out, 0} <- System.cmd(path, ["--help"]),
out <- Regex.replace(~r/(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]/, out, ""),
{out, 0} <- System.cmd(path, ["--help"], env: %{"NO_COLOR" => "1"}),

And let me know if it works!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that code works in my environment very well. so, I amend commit and re-push.

@josevalim josevalim merged commit f3bfbcf into phoenixframework:main Oct 17, 2025
2 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@josevalim
Copy link
Member

v0.4.1 is out.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants