Skip to content

chore(prompts): simplify guide option checks#459

Merged
43081j merged 1 commit intobombshell-dev:mainfrom
Simek:chore-prompts-simplify-check
Feb 4, 2026
Merged

chore(prompts): simplify guide option checks#459
43081j merged 1 commit intobombshell-dev:mainfrom
Simek:chore-prompts-simplify-check

Conversation

@Simek
Copy link
Contributor

@Simek Simek commented Feb 4, 2026

Why

While looking at code to see what changes would need to be needed to address the inconsistence spacing with withGuide: false option reported earlier today I have spotted that checks for that options in code can be simplified.

How

opts.withGuide can be boolean or undefined, while global setting can only be a boolean so checking against raw false value in this case is redundant.

@changeset-bot
Copy link

changeset-bot bot commented Feb 4, 2026

🦋 Changeset detected

Latest commit: 0dde332

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clack/prompts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 4, 2026

commit: 0dde332

@43081j 43081j merged commit 0ded19c into bombshell-dev:main Feb 4, 2026
7 checks passed
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.

2 participants