Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(cli): rephrase not empty directory error message #778

Merged
merged 1 commit into from
May 26, 2021

Conversation

jamesgeorge007
Copy link
Contributor

The user is greeted with the following message if he/she attempts to create a project in the current directory that is non-empty:-

Can't create . because there's already a non-empty directory . existing in path.

This PR aims at rephrasing the above message such that the directory name shows up instead.

@clarkdo clarkdo changed the title chore(create-nuxt-app): rephrase error message chore(cli): rephrase error message Apr 21, 2021
@jamesgeorge007
Copy link
Contributor Author

It would be nice to have a --force flag to override this behavior #556 (comment)
@clarkdo WDYT?

@clarkdo
Copy link
Member

clarkdo commented May 26, 2021

@jamesgeorge007 Sorry for the late reply, the --force idea looks good to me, but I think we can use another name which is more related to dir overridden.

@clarkdo clarkdo changed the title chore(cli): rephrase error message fix(cli): rephrase error message May 26, 2021
@clarkdo clarkdo changed the title fix(cli): rephrase error message fix(cli): rephrase not empty directory error message May 26, 2021
@clarkdo clarkdo merged commit 8186168 into nuxt:master May 26, 2021
@jamesgeorge007 jamesgeorge007 deleted the rephrase-msg branch May 27, 2021 06:07
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants