Skip to content

Fix: Removed duplicate calls to clean_xcode_tools and clean_code_editors#593

Merged
tw93 merged 2 commits intotw93:mainfrom
jason-costello:bugfix/590
Mar 18, 2026
Merged

Fix: Removed duplicate calls to clean_xcode_tools and clean_code_editors#593
tw93 merged 2 commits intotw93:mainfrom
jason-costello:bugfix/590

Conversation

@jason-costello
Copy link
Copy Markdown

Fixes #590

in lib/clean/app_caches.sh clean_user_gui_application() was making calls
to clean_xcode_tools and clean_code_editors.

in lib/clean/dev.sh clean_xcode_tools and clean_code_editors was also
being called, causing the duplication when executing the clean command.

removed the calls from lib/clean/app_caches.sh
clean_user_gui_application since these two calls are developer focused.
@jason-costello jason-costello requested a review from tw93 as a code owner March 18, 2026 16:01
@tw93 tw93 merged commit e617ed2 into tw93:main Mar 18, 2026
@tw93
Copy link
Copy Markdown
Owner

tw93 commented Mar 18, 2026

@jason-costello Thanks for the fix.

I added a follow-up commit before merging to strengthen the regression test in tests/clean_app_caches.bats, so the PR now explicitly verifies that clean_user_gui_applications() no longer calls clean_xcode_tools or clean_code_editors while still covering the remaining application groups.

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.

[BUG] mo clean --dry-run double-counts items in preview (case-variant project roots and overlapping sections)

2 participants