chore: update ConvertTo-Icon.ps1 (#2517)

paramter -> parameter
This commit is contained in:
Ikko Eltociear Ashimine 2024-08-08 06:00:32 +09:00 committed by GitHub
parent a0d15f1584
commit c619d02724
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ function ConvertTo-Icon {
# Handle the thrown exception here... # 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, 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. otherwise it'll crash the running PowerShell instance/process.