Skip to content

[Bug] core.py: uninstall method uses [error] markup for command output instead of [warning] #662

@kuishou68

Description

@kuishou68

Bug Report

Location

core.py, HackingTool.uninstall() method, line 228.

Description

In the install() method, each command is printed with [warning] markup (yellow), which makes sense — it is an informational display of the command being run.

However, in the uninstall() method, the exact same pattern uses [error] markup (red) instead:

# install() — correct:
console.print(f"[warning]→ {cmd}[/warning]")
os.system(cmd)

# uninstall() — wrong: uses [error] instead of [warning]
console.print(f"[error]→ {cmd}[/error]")
os.system(cmd)

Impact

Uninstall commands are displayed in red (error style), which misleads users into thinking something went wrong when the commands are actually running successfully.

Fix

Change [error] to [warning] in the uninstall command display line (line 228) to match the install() pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions