mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-08 23:13:38 -05:00
fix: delete leftover poetry script on windows
This commit is contained in:
parent
915d307694
commit
303392379b
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ class Installer:
|
||||||
self._write("Removing {}".format(colorize("info", "Poetry")))
|
self._write("Removing {}".format(colorize("info", "Poetry")))
|
||||||
|
|
||||||
shutil.rmtree(str(self._data_dir))
|
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():
|
if self._bin_dir.joinpath(script).exists():
|
||||||
self._bin_dir.joinpath(script).unlink()
|
self._bin_dir.joinpath(script).unlink()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue