diff options
author | Chrissy LeMaire <potatoqualitee@users.noreply.github.com> | 2021-07-13 22:31:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 16:31:14 -0400 |
commit | c9249dbe0b8e508b0067512e1accdf80e4d014ec (patch) | |
tree | 09360a087edfb2d8bfcd01d84fb10bee0c2f44cc /docs/ru-RU/config/README.md | |
parent | 0228a53c9fcffec602f7cc9cc4faf17f50ea812a (diff) |
fix(pwsh): replace Get-Error with $error[0] (#2873)
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.
Diffstat (limited to 'docs/ru-RU/config/README.md')
0 files changed, 0 insertions, 0 deletions