Skip to content

fix: use [warning] markup for uninstall command output instead of [error]#663

Open
kuishou68 wants to merge 1 commit into
Z4nzu:masterfrom
kuishou68:fix/issue-662-uninstall-markup
Open

fix: use [warning] markup for uninstall command output instead of [error]#663
kuishou68 wants to merge 1 commit into
Z4nzu:masterfrom
kuishou68:fix/issue-662-uninstall-markup

Conversation

@kuishou68

Copy link
Copy Markdown

Summary

Fixes inconsistent Rich markup in core.py where uninstall commands were displayed with [error] (red) style instead of [warning] (yellow), misleading users into thinking something went wrong.

Change

File Line Before After
core.py 228 console.print(f"[error]→ {cmd}[/error]") console.print(f"[warning]→ {cmd}[/warning]")

Why it matters

The install() method correctly uses [warning] (yellow) to display each command before running it — this is just an informational status, not an error.

The uninstall() method used [error] (red) for the same pattern, causing uninstall commands to appear as errors in the terminal. This confuses users who think the uninstall is failing when it is actually running normally.

Closes #662


Signed-off-by: Cocoon-Break 54054995+kuishou68@users.noreply.github.com

…loses Z4nzu#662)

Signed-off-by: Cocoon-Break <54054995+kuishou68@users.noreply.github.com>
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] core.py: uninstall method uses [error] markup for command output instead of [warning]

1 participant