Azure-Samples / Azure-Samples/azure-files-samples
seems wrong order
Open
- Dominant language
- PowerShell
- Stars
- 261
- Forks
- 202
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 4
Description
It seems that wrong sequence at L774-780. Even if $path.StartsWith is "\\?\unc\", $path will be changed "unc\" and it will not match "if ($path.StartsWith("\\?\unc\"))".
https://github.com/Azure-Samples/azure-files-samples/blob/master/ScanUnsupportedChars/ScanUnsupportedChars.ps1#L774-L780
I think it is better to reverse these if statements.
Contributor guide
Assessment
This issue has not been assessed yet.