Skip to content

Modules prompt triggers when empty module list is passed #887

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

Closed
cjpearson opened this issue May 24, 2025 · 0 comments · Fixed by #888
Closed

Modules prompt triggers when empty module list is passed #887

cjpearson opened this issue May 24, 2025 · 0 comments · Fixed by #888

Comments

@cjpearson
Copy link
Contributor

When the modules flag is used for init, the prompt still shows if the list of modules is empty.

Current behavior

npx init => prompt shown ✅
npx init --modules '@nuxt/fonts' => no prompt ✅
npx init --modules => prompt shown ❌

Expected

npx init => prompt shown ✅
npx init --modules '@nuxt/fonts' => no prompt ✅
npx init --modules '' => no prompt ✅

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 a pull request may close this issue.

1 participant