Pester
Pester copied to clipboard
Fix module installation in PowerShell 3 and 4
PR Summary
For some reason Install-Module for Pester 5.1.0+ fails on PowerShell 3 and 4 while testing the module manifest due to an error in a function that's never executed. Not worth figuring out why it's invoked, but fixing the invalid reference to the $SafeCommands-dictionary seems to fix it.
Fix #1791
PR Checklist
- [x] PR has meaningful title
- [x] Summary describes changes
- [x] PR is ready to be merged
- If not, use the arrow next to
Create Pull Requestto mark it as a draft. PR can be markedReady for reviewwhen it's ready.
- If not, use the arrow next to
- [ ] Tests are added/update (if required)
- [ ] Documentation is updated/added (if required)