Skip to content

Fix installQuietly showing success message with no tools or skills#61

Merged
albertodebortoli merged 1 commit intomainfrom
fix-install-quietly-empty-guard
Apr 11, 2026
Merged

Fix installQuietly showing success message with no tools or skills#61
albertodebortoli merged 1 commit intomainfrom
fix-install-quietly-empty-guard

Conversation

@albertodebortoli
Copy link
Copy Markdown
Member

Description

  • The quiet install paths (installQuietly) for both tools and skills ran the full progressStep — including the "installed" success message — even when no tools or skills were defined in the spec.
  • The verbose counterparts (installVerbose) already guarded against this with an isEmpty check.
  • Moved detection before the progressStep and added an early return when the list is empty, matching the verbose behavior.

Type of Change

  • Bug fix

How Has This Been Tested?

  • Tests pass locally (swift test — 356 tests, all passing)
  • Swift code builds locally (swift build)

Checklist

  • Swift code builds locally (swift build)
  • Tests pass locally (swift test)
  • Code style / formatting respected

Breaking Changes?

  • No

🤖 Generated with Claude Code

…e defined

The quiet install paths for both tools and skills ran the full
progressStep (including the "installed" success message) even when
nothing was found. The verbose counterparts already guarded against
this with an isEmpty check. Move detection before the progressStep
and early-return when the list is empty, matching the verbose behavior.
@albertodebortoli albertodebortoli added this to the 0.15.0 milestone Apr 11, 2026
@albertodebortoli albertodebortoli added the bugfix Something isn't working label Apr 11, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@albertodebortoli albertodebortoli merged commit 4a7b9ae into main Apr 11, 2026
3 checks passed
@albertodebortoli albertodebortoli deleted the fix-install-quietly-empty-guard branch April 11, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant