Skip to content

fix(cli): Fix project add not respecting --default flag - #949

Merged
rektdeckard merged 1 commit into
mainfrom
chelsea/fix-project-add-default-flag
Aug 27, 2026
Merged

fix(cli): Fix project add not respecting --default flag#949
rektdeckard merged 1 commit into
mainfrom
chelsea/fix-project-add-default-flag

Conversation

@ChelseaBradbury

Copy link
Copy Markdown
Contributor

When creating a project, I noticed that the --default flag is not respected unless the project name is passed as an argument to the command. It tries to set the default project to the project's name, but it hasn't prompted for a project name yet, so it sets it to empty string.

This fix produces what I assume is the intended behavior.

@CLAassistant

CLAassistant commented Aug 27, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@rektdeckard rektdeckard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @ChelseaBradbury, nice catch

@rektdeckard
rektdeckard merged commit 2f67ae8 into main Aug 27, 2026
25 of 26 checks passed
@rektdeckard
rektdeckard deleted the chelsea/fix-project-add-default-flag branch August 27, 2026 23:57
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