Describe the bug
PR #1106 added the ability to uninstall IPM and also remove the globals tracking which version has been installed. This is required for downgrading IPM. However, this prompt only appears if a non-IPM module is also installed.
zpm:USER>uninstall zpm
The following modules are currently installed:
- objectscript-math (0.0.5)
Do you want to fully remove all modules and IPM metadata (except history log)?
This is required for downgrading IPM. [y/N]:
To Reproduce
Steps to reproduce the behavior:
- Install a version of IPM like 0.10.9
- Uninstall IPM
- Install IPM 0.10.8 and see how it fails with the warning against downgrades
- Reinstall IPM 0.10.9
- Install a different module
- Uninstall again and see how the prompt for deleting IPM metadata appears: say yes
- Install IPM 0.10.8
Expected behavior
The IPM metadata prompt should appear regardless of whether another module is installed.
Describe the bug
PR #1106 added the ability to uninstall IPM and also remove the globals tracking which version has been installed. This is required for downgrading IPM. However, this prompt only appears if a non-IPM module is also installed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The IPM metadata prompt should appear regardless of whether another module is installed.