pulsepm / pulse

Unofficial package manager written in python.
MIT License
4 stars 0 forks source link

[BUG]: Invalid Syntax #50

Closed defakuto closed 5 months ago

defakuto commented 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:

  1. pulse uinstall omp-stdlib

Expected behavior It should throw an error or warning

Desktop (please complete the following information):

Additional context Command Output
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!
defakuto commented 5 months ago

This is the same issue for install.