Outcome all returns a different results between invoke and assert #1271
Labels
bug
Something isn't working
feature: output
Issues that affect output and results
.NET
Pull requests that update .net code
Description of the issue
When
Invoke-PSRule
is called with-Outcome All
processed and unprocessed results should be returned.Similarly, when
Assert-PSRule
is called with-ResultVariable
and-Outcome All
processed and unprocessed results should be returned to the specified variable.Currently
Assert-PSRule
is only returning processed results.Expected behaviour
The variable returned from
-ResultVariable
should contain the same results asInvoke-PSRule
.Module in use and version:
Additional context
Related to #1266
The text was updated successfully, but these errors were encountered: