Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: capitalize first letter and lowercase all the remaining letters #151

Merged

Conversation

tamatamvan
Copy link
Contributor

The documentation for capitalize states that it should capitalize only the first letter, and lowercasing the remaining letters.

For example capitalize('FRED') should returns Fred, while the actual current implementation still return FRED, because it did nothing to the remaining letters.

This PR update the implementation, to make sure the remaining letters to be lowercased.

Copy link

changeset-bot bot commented Jan 22, 2024

🦋 Changeset detected

Latest commit: b959e90

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
moderndash Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Jan 22, 2024

Deploy Preview for moderndash ready!

Name Link
🔨 Latest commit b959e90
🔍 Latest deploy log https://app.netlify.com/sites/moderndash/deploys/65ae225d77abd40008cfc0ba
😎 Deploy Preview https://deploy-preview-151--moderndash.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Maggi64 Maggi64 merged commit 2975159 into Maggi64:main Jan 23, 2024
4 of 5 checks passed
@Maggi64
Copy link
Owner

Maggi64 commented Jan 23, 2024

Thank you for the MR, I will release a new version

@github-actions github-actions bot mentioned this pull request Jan 23, 2024
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