diff --git a/Scripts/say-hello.ps1 b/Scripts/say-hello.ps1 index 551e7725..3c6a8306 100644 --- a/Scripts/say-hello.ps1 +++ b/Scripts/say-hello.ps1 @@ -11,10 +11,6 @@ https://github.com/fleschutz/PowerShell #> -try { - & "$PSScriptRoot/give-reply.ps1" "Hello, everyone." - exit 0 # success -} catch { - "⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))" - exit 1 -} +& "$PSScriptRoot/give-reply.ps1" "Hello everyone." +exit 0 # success +