Closed defakuto closed 5 months ago
Describe the bug If you try to uninstall a package and enter the wrong name, it should throw an error or warning, but it doesn't.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should throw an error or warning
Desktop (please complete the following information):
PS C:\Users\defak\OneDrive\Documents\GitHub\pulse_omp> pulse uninstall omp-stdlib
Traceback (most recent call last):
File "pulse\uninstall\uninstall.py", line 25, in uninstall
IndexError: list index out of range
During handling of the above exception, another exception occurred:
File "pulse.py", line 4, in <module>
File "click\core.py", line 1157, in __call__
File "click\core.py", line 1078, in main
File "click\core.py", line 1688, in invoke
File "click\core.py", line 1434, in invoke
File "click\core.py", line 783, in invoke
File "pulse\uninstall\uninstall.py", line 27, in uninstall
[7660] Failed to execute script 'pulse' due to unhandled exception!
This is the same issue for install.
Describe the bug If you try to uninstall a package and enter the wrong name, it should throw an error or warning, but it doesn't.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should throw an error or warning
Desktop (please complete the following information):
PS C:\Users\defak\OneDrive\Documents\GitHub\pulse_omp> pulse uninstall omp-stdlib
Traceback (most recent call last):
File "pulse\uninstall\uninstall.py", line 25, in uninstall
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "pulse.py", line 4, in <module>
File "click\core.py", line 1157, in __call__
File "click\core.py", line 1078, in main
File "click\core.py", line 1688, in invoke
File "click\core.py", line 1434, in invoke
File "click\core.py", line 783, in invoke
File "pulse\uninstall\uninstall.py", line 27, in uninstall
IndexError: list index out of range
[7660] Failed to execute script 'pulse' due to unhandled exception!