Azure-Samples / Azure-Samples/azure-files-samples

seems wrong order

Open
#67 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.