Update open-amazon.ps1

This commit is contained in:
Markus Fleschutz 2021-10-27 08:32:12 +02:00 committed by GitHub
parent acbd52fa70
commit edec1485f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,10 +11,4 @@
https://github.com/fleschutz/PowerShell
#>
try {
& "$PSScriptRoot/open-browser.ps1" "https://www.amazon.com"
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1
}
& "$PSScriptRoot/open-browser.ps1" "https://www.amazon.com"