mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-11 11:04:46 +02:00
Update open-amazon.ps1
This commit is contained in:
parent
acbd52fa70
commit
edec1485f3
@ -11,10 +11,4 @@
|
|||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
& "$PSScriptRoot/open-browser.ps1" "https://www.amazon.com"
|
||||||
& "$PSScriptRoot/open-browser.ps1" "https://www.amazon.com"
|
|
||||||
exit 0 # success
|
|
||||||
} catch {
|
|
||||||
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user