From 35b06ce168f7916aee0dbfdf0a34bd279d088caf Mon Sep 17 00:00:00 2001 From: Howard Wolosky Date: Mon, 26 Nov 2018 17:26:27 -0800 Subject: [PATCH] Make bools logged by `Write-InvocationLog` always be lowercase --- Helpers.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Helpers.ps1 b/Helpers.ps1 index 6da0e68c..d801ad95 100644 --- a/Helpers.ps1 +++ b/Helpers.ps1 @@ -463,7 +463,7 @@ function Write-InvocationLog { if ($param.Value -is [switch]) { - $params += "-$($param.Key):`$$($param.Value.ToBool())" + $params += "-$($param.Key):`$$($param.Value.ToBool().ToString().ToLower())" } else {