Skip to content

Commit

Permalink
fix: rename should be append to file not a folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Hurst committed Jan 11, 2020
1 parent 6519fd4 commit 88d09bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/installation/pip_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def install_directory(self, package):
args.append(req)

try:
random_path = os.path.join(req, "pyproject.toml", str(uuid4()))
random_path = os.path.join(req, "pyproject.toml" + str(uuid4()))
if pyproject.exists():
os.rename(os.path.join(req, "pyproject.toml"), random_path)
return self.run(*args)
Expand Down

0 comments on commit 88d09bb

Please sign in to comment.