]> _ Git - alire.git/commit
fix: don't crash on trying to re-add a pin (#1838)
authorAlejandro R Mosteo <amosteo@unizar.es>
Sat, 8 Feb 2025 14:52:45 +0000 (15:52 +0100)
committerGitHub <noreply@github.com>
Sat, 8 Feb 2025 14:52:45 +0000 (15:52 +0100)
commit39a61704b8f9b4c27e38670346b4d8187ed13f99
treee94a3558bae1e3e6948957e54dcc77e060f19017
parent2c053e445b6583fcade854678898148bb6a62626
fix: don't crash on trying to re-add a pin (#1838)

* Fix attempt to use unavailable pin path

* Test

* Reformat post refactor
src/alire/alire-user_pins.adb
src/alire/alire-user_pins.ads
testsuite/tests/with/pin-twice/test.py [new file with mode: 0644]
testsuite/tests/with/pin-twice/test.yaml [new file with mode: 0644]