mirror of
https://github.com/Llewellynvdm/starship.git
synced 2025-01-24 07:38:34 +00:00
c9249dbe0b
Get-Error does not exist in all versions of PowerShell, and attempting to use it on machines where it does not exist pollutes $error. Someone may be tempted to use -ErrorAction Ignore but since the command does not exist, it still ends up in $error This is a dual bug fix because it actually gets errors on all machines now and it does not pollute $error.