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

spaces in repo name gives error #150

Open
technophile-04 opened this issue Nov 6, 2024 · 1 comment
Open

spaces in repo name gives error #150

technophile-04 opened this issue Nov 6, 2024 · 1 comment

Comments

@technophile-04
Copy link
Collaborator

Description:

Not sure whats the best way to handle this...And we are kind of already hinting user to use (dashes instead of space in example name)

Screenshot 2024-11-06 at 12 12 59 PM

@carletex
Copy link
Member

carletex commented Nov 6, 2024

Maybe we just do repoName.trim().replace(/\s+/g, '-'); ? So we remove spaces at the end and beginning of the string and then use - (or maybe _) instead of spaces in the middle

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

2 participants