From c619d027244ff6d9ac45c5907c1df507004122eb Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Thu, 8 Aug 2024 06:00:32 +0900 Subject: [PATCH] chore: update ConvertTo-Icon.ps1 (#2517) paramter -> parameter --- functions/private/ConvertTo-Icon.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/private/ConvertTo-Icon.ps1 b/functions/private/ConvertTo-Icon.ps1 index ce06327ef4..a401775551 100644 --- a/functions/private/ConvertTo-Icon.ps1 +++ b/functions/private/ConvertTo-Icon.ps1 @@ -51,7 +51,7 @@ function ConvertTo-Icon { # Handle the thrown exception here... } - This Example make use of '-overrideIconFile' Optional Parameter, the default for this paramter is $true. + This Example make use of '-overrideIconFile' Optional Parameter, the default for this parameter is $true. By doing '-overrideIconFile $false', the 'ConvertTo-Icon' function will raise an exception that needs to be catched throw a 'catch' Code Block, otherwise it'll crash the running PowerShell instance/process.