mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-23 22:28:37 +01:00
Update open-amazon.ps1
This commit is contained in:
parent
acbd52fa70
commit
edec1485f3
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user