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

KebabCase utils implementation differ over two files #1597

Open
anubhavsrivastava opened this issue Dec 25, 2023 · 0 comments
Open

KebabCase utils implementation differ over two files #1597

anubhavsrivastava opened this issue Dec 25, 2023 · 0 comments

Comments

@anubhavsrivastava
Copy link

Describe the bug
KebabCase here util -> https://github.com/alxshelepenok/gatsby-starter-lumen/blob/master/internal/gatsby/utils/to-kebab-case.ts
KebabCase here util -> https://github.com/alxshelepenok/gatsby-starter-lumen/blob/master/src/utils/to-kebab-case.ts

Both have slight different implementation result in different output.

To Reproduce
Have a category post as PackageManager
the page will be generated as /packagemanager while the link in categories link will be /package-manager

Expected behavior
consistent path should be generated

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
agnostic

Smartphone (please complete the following information):
agnostic

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant