Skip to content

Commit

Permalink
fix: support changing directory with TMPDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Jan 6, 2022
1 parent 8261d2a commit 40ebae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nox/sessions.py
Expand Up @@ -202,7 +202,7 @@ def create_tmp(self) -> str:
"""Create, and return, a temporary directory."""
tmpdir = os.path.join(self._runner.envdir, "tmp")
os.makedirs(tmpdir, exist_ok=True)
self.env["TMPDIR"] = tmpdir
self.env["TMPDIR"] = os.path.abspath(tmpdir)
return tmpdir

@property
Expand Down

0 comments on commit 40ebae7

Please sign in to comment.