| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This should be WriteError() too - as in the original WinPS implementation, any exception for a given pipeline input should be a non-terminating error.
Sorry, something went wrong.
There was a problem hiding this comment.
Yes, It is was copy-past without fix.
Sorry, something went wrong.
There was a problem hiding this comment.
Ilya (@iSazonov) You can use the special .sys file on the system drive of a windows OS for the test, for example, pagefile.sys or swapfile.sys.
Sorry, something went wrong.
|
Dongbo Wang (@daxian-dbw) I added new test. |
Sorry, something went wrong.
|
Oh, It turns out CI Windows VM redirect pagefile.sys so I have to use WMI to find it in the new test. |
Sorry, something went wrong.
|
Didn't know you can use cim cmdlet for that, very cool :) |
Sorry, something went wrong.
|
🎉v7.1.0-preview.1 has been released which incorporates this pull request.:tada: Handy links: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Fix #11931
Catch all IO exceptions in Get-FileHash cmdlet to do not terminate pipeline.
PR Context
PR Checklist