Skip to content

Commit

Permalink
Format because
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed Apr 10, 2024
1 parent 9d80eb5 commit c156209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/Set-ItResult.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
}

if ($Because) {
[String]$message += ", because $Because"
[String]$message += ", because $(Format-Because $Because)"
}

throw [Pester.Factory]::CreateErrorRecord(
Expand Down

0 comments on commit c156209

Please sign in to comment.