Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric committed Aug 30, 2023
1 parent 2825359 commit 3c6b429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pdm/project/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ def __init__(self, config_file: Path | str | None = None, is_global: bool = Fals
self.is_global = is_global
if config_file is None:
root = find_project_root()
config_file = root / "pdm.toml" # reference: project/core.py L135: Config(self.root / "pdm.toml")
self.config_file = config_file.resolve()
config_file = Path(root) / "pdm.toml" # reference: project/core.py L135: Config(self.root / "pdm.toml")
self.config_file = Path(config_file).resolve()
self.deprecated = {v.replace: k for k, v in self._config_map.items() if v.replace}
self._file_data = load_config(self.config_file)
self._data = collections.ChainMap(
Expand Down

0 comments on commit 3c6b429

Please sign in to comment.