Skip to content

Commit

Permalink
fix: as_uri() can only be applied to absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
finswimmer committed Dec 29, 2022
1 parent 6e84663 commit e614693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/masonry/builders/editable.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def _add_dist_info(self, added_files: list[Path]) -> None:
json.dumps(
{
"dir_info": {"editable": True},
"url": self._poetry.file.path.parent.as_uri(),
"url": self._poetry.file.path.parent.absolute().as_uri(),
}
)
)
Expand Down

0 comments on commit e614693

Please sign in to comment.