Skip to content

Conversation

@collins-lagat
Copy link
Contributor

@collins-lagat collins-lagat commented Oct 1, 2023

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 nuxt/nuxt#23489. The error the user faced is noted down there.

resolves nuxt/nuxt#23489

@danielroe
Copy link
Member

Thank you ❤️

@codecov-commenter
Copy link

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
@@           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 Coverage Δ
src/consent.ts 55.26% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielroe danielroe changed the title fix: incorrect use of consola colors due to different interface fix: do not chain consola colors Oct 1, 2023
@danielroe danielroe merged commit 8de4ea8 into nuxt:main Oct 1, 2023
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.

colors.cyan.underline is not a function

3 participants