#uninstall cmd questions

1 messages ยท Page 1 of 1 (latest)

zenith vortex
#

and if we do resolve the git dependency, and lets say that git repo has been deleted the resolve itself will fail.

we can handle the scenario by possibly checking for error msg but it adds the complexity to the code.

#

as a simple workaround - I could just return the msg saying "version %q was requested to be uninstalled but the installed version is %q"

raw atlas
#

ah woops i forgot about this ๐Ÿค”

#

yeah, we do actually need this logic

#

hm hm hm

#

what i would just do is match the version using the reverse of the logic that finds that tag

#

so essentially, if i try and uninstall @v0.3.0, then match */v0.3.0

zenith vortex
#

ah right, i was just typing that as a potential workaround

#

๐Ÿ‘ - I'll try that out

raw atlas
#

as long as we have a test that makes sure that it works, that approach feels like the best to me

zenith vortex
#

yeah i will add a test for it