| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:8afb1783-7df3-0fe3-703d-9768e0995be7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9F2A:21D998:3D68BC:587F5D:6A572AB4 |
| html-safe-nonce | 75465797b333c567c4268e7640c35f182a63bcf9b0b1e8949b8ab3bc2831e26e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjJBOjIxRDk5ODozRDY4QkM6NTg3RjVEOjZBNTcyQUI0IiwidmlzaXRvcl9pZCI6IjQwMzA5MzczMjI4ODM1OTA4MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e531b67bb799384d9d99bce8a2ebdac8091c7710524684b9b9677375a80ee2d7 |
| hovercard-subject-tag | pull_request:133176224 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/4395/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d5d5846d3be90633a06e115c954e04f9715d4909ec9c9138e24f7471cd7ad6f7/PowerShell/PowerShell/pull/4395 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d5d5846d3be90633a06e115c954e04f9715d4909ec9c9138e24f7471cd7ad6f7/PowerShell/PowerShell/pull/4395 |
| og:image:alt | Adds a new non-terminating error
Fix #4390.
Problem
If a file is read only it is skipping silently.
Fix
Analize GetLastError() and throw if a file stream hasn't been removed.
First commit only ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iSazonov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| turbo-cache-control | no-cache |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2576d1f0198cf1588faf2edf27f1ed120903be10 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/4395#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F4395 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F4395 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/4395 |
| Reload | https://github.com/PowerShell/PowerShell/pull/4395 |
| Reload | https://github.com/PowerShell/PowerShell/pull/4395 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4395 |
|
PowerShell
| https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
|
Notifications
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Fork
8.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Star
54.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
1.2k
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
288
| https://github.com/PowerShell/PowerShell/pulls |
|
Discussions
| https://github.com/PowerShell/PowerShell/discussions |
|
Actions
| https://github.com/PowerShell/PowerShell/actions |
|
Projects
| https://github.com/PowerShell/PowerShell/projects |
|
Security and quality
3
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
| https://github.com/PowerShell/PowerShell/pulls |
|
Discussions
| https://github.com/PowerShell/PowerShell/discussions |
|
Actions
| https://github.com/PowerShell/PowerShell/actions |
|
Projects
| https://github.com/PowerShell/PowerShell/projects |
|
Security and quality
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
| TravisEz13 | https://github.com/TravisEz13 |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| iSazonov:fix-unblock-file-ro | https://github.com/iSazonov/PowerShell/tree/fix-unblock-file-ro |
| Conversation | https://github.com/PowerShell/PowerShell/pull/4395 |
| Commits4 (4) | https://github.com/PowerShell/PowerShell/pull/4395/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/4395/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/4395/files |
| Fix unblock read only file | https://github.com/PowerShell/PowerShell/pull/4395#top |
| TravisEz13 | https://github.com/TravisEz13 |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| iSazonov:fix-unblock-file-ro | https://github.com/iSazonov/PowerShell/tree/fix-unblock-file-ro |
|
| https://github.com/iSazonov |
| iSazonov | https://github.com/iSazonov |
| Jul 31, 2017 | https://github.com/PowerShell/PowerShell/pull/4395#issue-246660606 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4395 |
| #4390 | https://github.com/PowerShell/PowerShell/issues/4390 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4395 |
| iSazonov | https://github.com/iSazonov |
| July 31, 2017 09:28 | https://github.com/PowerShell/PowerShell/pull/4395#commits-pushed-16daa02 |
|
| https://github.com/iSazonov |
| Refactor tests to use ShouldBeErrorId | https://github.com/PowerShell/PowerShell/pull/4395/commits/16daa026e935a0978410dd53268a48865993a2cf |
| 16daa02 | https://github.com/PowerShell/PowerShell/pull/4395/commits/16daa026e935a0978410dd53268a48865993a2cf |
|
| https://github.com/iSazonov |
| Add throw if we can not remove a file stream | https://github.com/PowerShell/PowerShell/pull/4395/commits/0215e2f1f9168ee76fe8e8f916ea3855f5f5b5f4 |
| 0215e2f | https://github.com/PowerShell/PowerShell/pull/4395/commits/0215e2f1f9168ee76fe8e8f916ea3855f5f5b5f4 |
|
| https://github.com/iSazonov |
| Add new test | https://github.com/PowerShell/PowerShell/pull/4395/commits/01bf4443f8e48ae687a6b93e7c0fbcf0ef50c86a |
| 01bf444 | https://github.com/PowerShell/PowerShell/pull/4395/commits/01bf4443f8e48ae687a6b93e7c0fbcf0ef50c86a |
| https://github.com/msftclas |
| msftclas | https://github.com/msftclas |
|
cla-already-signed
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3Acla-already-signed |
| Jul 31, 2017 | https://github.com/PowerShell/PowerShell/pull/4395#event-1185195352 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| Aug 1, 2017 | https://github.com/PowerShell/PowerShell/pull/4395#issuecomment-319266043 |
| @iSazonov | https://github.com/iSazonov |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4395 |
| https://github.com/iSazonov |
| iSazonov | https://github.com/iSazonov |
| Aug 2, 2017 | https://github.com/PowerShell/PowerShell/pull/4395#issuecomment-319626383 |
| MSDN | https://msdn.microsoft.com/en-us/library/windows/desktop/aa363915(v=vs.85).aspx |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4395 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
|
Aug 2, 2017
| https://github.com/PowerShell/PowerShell/pull/4395#pullrequestreview-53875111 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/4395/files/01bf4443f8e48ae687a6b93e7c0fbcf0ef50c86a |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| https://github.com/PowerShell/PowerShell/pull/4395#pullrequestreview-53875111 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4395 |
| https://github.com/lzybkr |
| lzybkr | https://github.com/lzybkr |
|
Aug 5, 2017
| https://github.com/PowerShell/PowerShell/pull/4395#pullrequestreview-54504833 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/4395/files/01bf4443f8e48ae687a6b93e7c0fbcf0ef50c86a |
| src/System.Management.Automation/namespaces/FileSystemProvider.cs | https://github.com/PowerShell/PowerShell/pull/4395/files/01bf4443f8e48ae687a6b93e7c0fbcf0ef50c86a#diff-3de7b3fa15124e23cfb93904c79b222c300015318c577e73a04526bf3e9b60ef |
| lzybkr | https://github.com/lzybkr |
| Aug 5, 2017 | https://github.com/PowerShell/PowerShell/pull/4395#discussion_r131511248 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4395 |
| iSazonov | https://github.com/iSazonov |
| Aug 5, 2017 | https://github.com/PowerShell/PowerShell/pull/4395#discussion_r131526970 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4395 |
| https://github.com/TravisEz13 |
| TravisEz13 | https://github.com/TravisEz13 |
| Aug 5, 2017 | https://github.com/PowerShell/PowerShell/pull/4395#event-1194240168 |
|
| https://github.com/iSazonov |
| Write non-terminating error | https://github.com/PowerShell/PowerShell/pull/4395/commits/7461f799b62ab0cb75b1a8ae91b1c75b0fa376f8 |
| 7461f79 | https://github.com/PowerShell/PowerShell/pull/4395/commits/7461f799b62ab0cb75b1a8ae91b1c75b0fa376f8 |
| https://github.com/iSazonov |
| iSazonov | https://github.com/iSazonov |
| Aug 11, 2017 | https://github.com/PowerShell/PowerShell/pull/4395#issuecomment-321823209 |
| @lzybkr | https://github.com/lzybkr |
| @SteveL-MSFT | https://github.com/SteveL-MSFT |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4395 |
| https://github.com/TravisEz13 |
| TravisEz13 | https://github.com/TravisEz13 |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| stale review | https://github.com/PowerShell/PowerShell/pull/4395#pullrequestreview-53875111 |
| August 11, 2017 17:27 | https://github.com/PowerShell/PowerShell/pull/4395#event-1202987059 |
| https://github.com/lzybkr |
| lzybkr | https://github.com/lzybkr |
|
Aug 11, 2017
| https://github.com/PowerShell/PowerShell/pull/4395#pullrequestreview-55872952 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/4395/files/7461f799b62ab0cb75b1a8ae91b1c75b0fa376f8 |
| lzybkr | https://github.com/lzybkr |
| https://github.com/PowerShell/PowerShell/pull/4395#pullrequestreview-55872952 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4395 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
|
Aug 14, 2017
| https://github.com/PowerShell/PowerShell/pull/4395#pullrequestreview-55981106 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/4395/files/7461f799b62ab0cb75b1a8ae91b1c75b0fa376f8 |
| https://github.com/TravisEz13 |
| TravisEz13 | https://github.com/TravisEz13 |
| 813e4a6 | https://github.com/PowerShell/PowerShell/commit/813e4a661ae686799f886581589e715fefb8caaa |
| Aug 14, 2017 | https://github.com/PowerShell/PowerShell/pull/4395#event-1205029140 |
| https://github.com/iSazonov |
| iSazonov | https://github.com/iSazonov |
| August 15, 2017 09:22 | https://github.com/PowerShell/PowerShell/pull/4395#event-1206164304 |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F4395 |
|
| https://github.com/SteveL-MSFT |
|
SteveL-MSFT
| https://github.com/SteveL-MSFT |
|
| https://github.com/PowerShell/PowerShell/pull/4395/files/7461f799b62ab0cb75b1a8ae91b1c75b0fa376f8 |
|
| https://github.com/lzybkr |
|
lzybkr
| https://github.com/lzybkr |
|
| https://github.com/PowerShell/PowerShell/pull/4395/files/7461f799b62ab0cb75b1a8ae91b1c75b0fa376f8 |
|
| https://github.com/TravisEz13 |
|
TravisEz13
| https://github.com/TravisEz13 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/4395 |
|
| https://github.com/iSazonov |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com/lzybkr |
|
| https://github.com/msftclas |
|
| https://github.com/TravisEz13 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |