Run Codeformatter for SMA (#9402)

This commit is contained in:
Ilya
2019-04-24 19:27:22 +05:00
committed by GitHub
parent 095be4655e
commit ceed73d737
99 changed files with 370 additions and 423 deletions
@@ -166,18 +166,18 @@ namespace System.Management.Automation
// This is done after the version check filtering to ensure we do not remove later version files.
HashSet<string> fileNameHash = new HashSet<string>();
foreach(var file in filesMatched)
foreach (var file in filesMatched)
{
string fileName = Path.GetFileName(file);
if(!fileNameHash.Contains(fileName))
if (!fileNameHash.Contains(fileName))
{
fileNameHash.Add(fileName);
}
else
{
// If the file need to be removed, add it to matchedFilesToRemove, if not already present.
if(!matchedFilesToRemove.Contains(file))
if (!matchedFilesToRemove.Contains(file))
{
matchedFilesToRemove.Add(file);
}