pytest-dev / regendoc

Mozilla Public License 2.0
2 stars 8 forks source link

actions: shell: use abspath for targetdir #6

Closed blueyed closed 5 years ago

blueyed commented 5 years ago

This is meant to handle cwd=".", where isdir is True, but rmtree would fail.

An alternative might be to check for cwd="." explicitly, and not join then.

Fixes https://github.com/pytest-dev/regendoc/commit/5457f54be6062973aced9b9def13cf0f706e0551#commitcomment-33020310.

blueyed commented 5 years ago

JFI: seems like 0.6.1 (via PyPI tarball) handles cwd="." special already..

blueyed commented 5 years ago

=> #8