nuxt / telemetry

Nuxt Telemetry
MIT License
205 stars 23 forks source link

fix: do not chain consola colors #116

Closed collins-lagat closed 11 months ago

collins-lagat commented 11 months ago

It appears that chalk used to have this api c.cyan.underline but consola doesn't seem to have the same i.e. you can't chain methods. This should fix that issue. The original issue was posted here https://github.com/nuxt/nuxt/issues/23489. The error the user faced is noted down there.

resolves https://github.com/nuxt/nuxt/issues/23489

danielroe commented 11 months ago

Thank you ❤️

codecov-commenter commented 11 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (9e0a5f9) 83.11% compared to head (cc68b31) 83.11%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #116 +/- ## ======================================= Coverage 83.11% 83.11% ======================================= Files 19 19 Lines 616 616 Branches 74 74 ======================================= Hits 512 512 Misses 102 102 Partials 2 2 ``` | [Files](https://app.codecov.io/gh/nuxt/telemetry/pull/116?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt) | Coverage Δ | | |---|---|---| | [src/consent.ts](https://app.codecov.io/gh/nuxt/telemetry/pull/116?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt#diff-c3JjL2NvbnNlbnQudHM=) | `55.26% <0.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.