1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-11-06 06:05:52 -05:00

fix: delete leftover poetry script on windows

This commit is contained in:
StarHeart 2022-07-24 21:52:55 +08:00 committed by Bjorn Neergaard
parent 915d307694
commit 303392379b

View file

@ -571,7 +571,7 @@ class Installer:
self._write("Removing {}".format(colorize("info", "Poetry")))
shutil.rmtree(str(self._data_dir))
for script in ["poetry", "poetry.bat"]:
for script in ["poetry", "poetry.bat", "poetry.exe"]:
if self._bin_dir.joinpath(script).exists():
self._bin_dir.joinpath(script).unlink()