Incorrect usage of a variable - some options for exported documents can be ignored
it-praktyk opened this issue · 1 comments
it-praktyk commented
Due to bug - introduced in the version 1.4.0 - some options defined for exported documents can be ignored.
The bug is in the line https://github.com/equelin/Format-Pester/blob/master/Format-Pester/Public/Format-Pester.ps1#L482
The variable '@exportParams' should be '$exportParams' - due to usage of PowerShell splatting constructor it was silently ignored.
PS >git blame -L 482,482 .\Format-Pester\Public\Format-Pester.ps1
3efd9e45 (Wojciech Sciesinski 2016-09-05 22:26:56 +0200 482) }
PS> git show 3efd9e45
commit 3efd9e45525f690102cca0bd95bfd6e631ac0a89
Author: Wojciech Sciesinski <wojciech@sciesinski.net>
Date: Mon Sep 5 22:26:56 2016 +0200
The issue fixed #12, possibility to dump the PScribo object added - resolved #15, the test for translations corrected, documentation updated
it-praktyk commented
Fixed by #33