Skip to content

Commit

Permalink
Use env_dir accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Oct 1, 2024
1 parent b7cbcd1 commit d112927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tox/tox_env/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __getattribute__(self, name: str) -> Any:

def register_config(self) -> None:
super().register_config()
file_lock_path: Path = self.conf["env_dir"] / "file.lock"
file_lock_path: Path = self.env_dir / "file.lock"
self._file_lock = FileLock(file_lock_path)
file_lock_path.parent.mkdir(parents=True, exist_ok=True)
self.core.add_config(
Expand Down

0 comments on commit d112927

Please sign in to comment.