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

Open
cjpearson opened this issue May 24, 2025 · 0 comments · May be fixed by #888
Open

Modules prompt triggers when empty module list is passed #887

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

Comments

@cjpearson
Copy link

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 ✅

@cjpearson cjpearson linked a pull request May 24, 2025 that will close this issue
6 tasks
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