From 701a92fcaa34586435b6452f4575c4afe4ff969f Mon Sep 17 00:00:00 2001 From: "Shaun Lawrie (via GitHub Actions)" Date: Sat, 16 Mar 2024 01:38:22 +1300 Subject: [PATCH] Fix write-error mock --- PwshSpectreConsole.Docs/src/powershell/Mocks.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PwshSpectreConsole.Docs/src/powershell/Mocks.psm1 b/PwshSpectreConsole.Docs/src/powershell/Mocks.psm1 index ff33f5c7..7539b2f4 100644 --- a/PwshSpectreConsole.Docs/src/powershell/Mocks.psm1 +++ b/PwshSpectreConsole.Docs/src/powershell/Mocks.psm1 @@ -38,7 +38,7 @@ function Stop-SpectreRecordingMock { return $result } -function Write-Error { +function Write-ErrorMock { param ( [string] $Message )