Skip to content

Commit 1fa9345

Browse files
authored
InputPaths are not args
1 parent e342448 commit 1fa9345

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

NDecrypt/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ public static void Main(string[] args)
3333

3434
for (int i = 0; i < options.InputPaths.Count; i++)
3535
{
36-
if (File.Exists(args[i]))
36+
if (File.Exists(options.InputPaths[i]))
3737
{
38-
ProcessFile(args[i], options);
38+
ProcessFile(options.InputPaths[i], options);
3939
}
40-
else if (Directory.Exists(args[i]))
40+
else if (Directory.Exists(options.InputPaths[i]))
4141
{
42-
foreach (string file in Directory.GetFiles(args[i], "*", SearchOption.AllDirectories))
42+
foreach (string file in Directory.GetFiles(options.InputPaths[i], "*", SearchOption.AllDirectories))
4343
{
4444
ProcessFile(file, options);
4545
}

0 commit comments

Comments
 (0)