Skip to content

Fix uninstall dry-run leftover warnings#923

Merged
tw93 merged 1 commit into
tw93:mainfrom
M-Hassan-Raza:fix/uninstall-dry-run-leftovers
May 22, 2026
Merged

Fix uninstall dry-run leftover warnings#923
tw93 merged 1 commit into
tw93:mainfrom
M-Hassan-Raza:fix/uninstall-dry-run-leftovers

Conversation

@M-Hassan-Raza
Copy link
Copy Markdown
Contributor

mo uninstall --dry-run was leaving files in place like it should, then checking those same files and printing Could not remove.

that made a preview look like a failed uninstall.

this skips that leftover check only in dry-run. real uninstall still reports leftovers.

tested with bats tests/uninstall.bats, ./scripts/check.sh --no-format, ./scripts/test.sh, make build

@M-Hassan-Raza M-Hassan-Raza requested a review from tw93 as a code owner May 18, 2026 09:42
@M-Hassan-Raza M-Hassan-Raza force-pushed the fix/uninstall-dry-run-leftovers branch from f89869e to ca4523b Compare May 18, 2026 09:58
@tw93 tw93 merged commit bfbd6ef into tw93:main May 22, 2026
9 checks passed
@tw93
Copy link
Copy Markdown
Owner

tw93 commented May 22, 2026

@M-Hassan-Raza Thanks for the focused dry-run fix and regression test. Merged into main.

@tw93 tw93 mentioned this pull request May 22, 2026
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