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: handle spaces in path at repo initialization #300

Merged

Conversation

Ettapp
Copy link
Contributor

@Ettapp Ettapp commented Nov 24, 2023

This PR fix the issue happening when one run nuxi init . in a directory whose path contains spaces.

It just surround the path variable with in double quote in the string literal.

(This is my first public PR, I've looked for a contribution guide but did not find it... If there is anything wrong with the way I made it feel free to discard it and fix the concerned line directly, I'll learn by watching 😉 )

src/commands/init.ts Outdated Show resolved Hide resolved
@Ettapp Ettapp force-pushed the fix/repository-directory-name-containing-spaces branch from 4724f6b to 0bbef1e Compare November 28, 2023 21:18
@Ettapp
Copy link
Contributor Author

Ettapp commented Nov 28, 2023

Not sure I did the right thing by force-pushing the suggested change, but here it is, thanks for the advice !

Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pi0 pi0 merged commit a78c5e6 into nuxt:main Feb 14, 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.

3 participants