Skip to content

fix(core): use [warning] markup in uninstall() to match install() style#666

Open
AviArora02-commits wants to merge 1 commit intoZ4nzu:masterfrom
AviArora02-commits:fix/uninstall-warning-markup
Open

fix(core): use [warning] markup in uninstall() to match install() style#666
AviArora02-commits wants to merge 1 commit intoZ4nzu:masterfrom
AviArora02-commits:fix/uninstall-warning-markup

Conversation

@AviArora02-commits
Copy link
Copy Markdown

Summary

Fixes #662

What changed

In core.py, the uninstall() method was printing each command with [error] markup (red),
while install() correctly uses [warning] markup (yellow) for the same purpose —
displaying a command before running it.

Why it matters

Red output signals an error to users. Seeing red text during a successful uninstall
is confusing and alarming. This change makes the UX consistent and honest.

Change

core.py line 228: [error][warning]

Testing

  • Visually verified that uninstall commands now display in yellow (warning style)
    matching the install() method behavior.

Uninstall commands were printed in red ([error]) which falsely implied
a failure. Changed to [warning] (yellow) to be consistent with how
install() displays commands — informational, not alarming.

Fixes Z4nzu#662
@AviArora02-commits
Copy link
Copy Markdown
Author

Ready for review!!

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