-
Notifications
You must be signed in to change notification settings - Fork 498
fix: the projectName should not be .
in README if created in current directory
#161
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
Conversation
There's no such bug. Because when the user passes .
to the command line, the projectName
prompt will be skipped; therefore result.projectName
will be undefined
.
The projectName
prompt doesn't seem to be skipped when the user enters .
, so the value of projectName
is .
. Therefore, the title in README is .
.
image
I can't reproduce it
Follow the steps shown in the figure to reproduce
image
Maybe it's related to the system environment, I'm using windows 🤔
😂 You explicitly used .
as the project name...
It's a name, not a path. I don't expect people to use it this way.
The way to create the project in the current directory should be pnpm create vue@3 .
🤣 Embarrassing, I always use this to create projects in the current folder.
No description provided.