pyinfra
pyinfra copied to clipboard
exclude _chdir from global arguments used when removing temporary file (fix #1426)
The _chdir may require the _sudo which has been removed from arguments and thus given it isn't need for the rm, we remove the _chdir to avoid it failing due to the lack of the sudo
Intended to fix #1426
- [ x ] Pull request is based on the default branch (
3.xat this time) - [ x ] Pull request includes tests for any new/updated operations/facts
- [ x ] Pull request includes documentation for any new/updated operations/facts
- [x ] Tests pass (see
scripts/dev-test.sh) - [ x] Type checking & code style passes (see
scripts/dev-lint.sh)