Skip to content

Commit

Permalink
TargetObject
Browse files Browse the repository at this point in the history
  • Loading branch information
eriqua committed Sep 21, 2023
1 parent 9b67508 commit b099ffb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function Set-PesterGitHubOutput {
Write-Verbose "$intermediateNameElements"
Write-Verbose "failedTest $failedTest"
Write-Verbose "failedTestErrorRecord $($failedTest.ErrorRecord)"
Write-Verbose "failedTestErrorRecordTargetObject $($failedTest.ErrorRecord.TargetObject)"
Write-Verbose "failedTestErrorRecordTargetObject $($($failedTest.ErrorRecord).TargetObject)"

$errorTestFile = (Split-Path $failedTest.ErrorRecord.TargetObject.File -Leaf).Trim()

Expand Down

0 comments on commit b099ffb

Please sign in to comment.