Skip to content

Commit

Permalink
Undo argument rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Cypher1 committed Feb 5, 2024
1 parent bd533b1 commit 998d44b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/poetry/core/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ class Factory:
"""

def create_poetry(
self, dir: Path | None = None, with_groups: bool = True
self, cwd: Path | None = None, with_groups: bool = True
) -> Poetry:
from poetry.core.poetry import Poetry
from poetry.core.pyproject.toml import PyProjectTOML

poetry_file = self.locate(dir)
poetry_file = self.locate(cwd)
local_config = PyProjectTOML(path=poetry_file).poetry_config

# Checking validity
Expand Down

0 comments on commit 998d44b

Please sign in to comment.