Rename
editorconfig
This commit is contained in:
@ -26,7 +26,7 @@ public class DeleteByRelative
|
||||
if (string.IsNullOrEmpty(appSettings.CompareRootDirectory) || Path.GetFullPath(appSettings.CompareRootDirectory) == Path.GetFullPath(configuration.RootDirectory))
|
||||
throw new Exception("Check AppSettings file!");
|
||||
IEnumerable<(string directory, string[] files)> leftCollection = Shared.Models.Stateless.Methods.IFileHolder.GetFiles(configuration.RootDirectory, searchPattern);
|
||||
List<string> leftRelativeFiles = new();
|
||||
List<string> leftRelativeFiles = [];
|
||||
foreach ((_, string[] files) in leftCollection)
|
||||
{
|
||||
foreach (string file in files)
|
||||
@ -35,7 +35,7 @@ public class DeleteByRelative
|
||||
leftRelativeFiles.Add(Path.GetFullPath(string.Concat(appSettings.CompareRootDirectory, relativePath)));
|
||||
}
|
||||
}
|
||||
List<string> deleteFiles = new();
|
||||
List<string> deleteFiles = [];
|
||||
IEnumerable<(string, string[])> rightCollection = Shared.Models.Stateless.Methods.IFileHolder.GetFiles(appSettings.CompareRootDirectory, searchPattern);
|
||||
foreach ((_, string[] files) in rightCollection)
|
||||
{
|
||||
|
@ -60,7 +60,7 @@ public class Program
|
||||
if (args is not null)
|
||||
Secondary(logger, args.ToList());
|
||||
else
|
||||
Secondary(logger, new List<string>());
|
||||
Secondary(logger, []);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user