kowainik / stan

🕵️ Haskell STatic ANalyser
https://kowainik.github.io/projects/stan
Mozilla Public License 2.0
566 stars 48 forks source link

Is it possible to turn off colour output? #477

Open carlosdagos opened 1 year ago

carlosdagos commented 1 year ago

I run stan in CI. In particular I use the json output to annotate code in every PR.

I would also like to annotate using the description, which is accessible via stan inspection. However that one is unfortunately garbled when it ends up in annotations due to the coloured output.

Is it possible to turn off couloured output using some kind of flag or environment variable? 😄

Thanks!

carlosdagos commented 1 year ago

Working around it for now by having a step in my CI to strip ansi from Stan output 😀