Skip to content

During Tab Completion, skip file if can't read file attributes#10910

Merged
iSazonov merged 1 commit intoPowerShell:masterfrom
SteveL-MSFT:file-tabcomplete
Oct 28, 2019
Merged

During Tab Completion, skip file if can't read file attributes#10910
iSazonov merged 1 commit intoPowerShell:masterfrom
SteveL-MSFT:file-tabcomplete

Conversation

@SteveL-MSFT
Copy link
Copy Markdown
Member

@SteveL-MSFT SteveL-MSFT commented Oct 27, 2019

PR Summary

During tab completion, while enumerating files, if the file attributes can't be read, just ignore error and skip that file. Previously, the file access exception wasn't handled and tab completion completely failed without returning any results.

PR Context

Fix #7648

PR Checklist

@iSazonov iSazonov added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Oct 28, 2019
@iSazonov iSazonov added this to the 7.0.0-preview.6 milestone Oct 28, 2019
@iSazonov iSazonov merged commit 2746cb7 into PowerShell:master Oct 28, 2019
@ghost
Copy link
Copy Markdown

ghost commented Nov 21, 2019

🎉v7.0.0-preview.6 has been released which incorporates this pull request.:tada:

Handy links:

@SteveL-MSFT SteveL-MSFT deleted the file-tabcomplete branch June 6, 2020 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tab completion under /mnt/c stymied by hiberfil.sys

2 participants