Skip to content

Commit 529e45a

Browse files
committed
Get exceptions from base directory
1 parent eea9bb9 commit 529e45a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/StaticAnalysis/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ public static void Main(string[] args)
4848
};
4949

5050
var reportsDirectory = Directory.GetCurrentDirectory();
51-
var exceptionsDirectory = Path.Combine(Directory.GetCurrentDirectory(), "Exceptions");
5251
bool logReportsDirectoryWarning = true;
5352
if (args.Length > 1 && Directory.Exists(args[1]))
5453
{
5554
reportsDirectory = args[1];
5655
logReportsDirectoryWarning = false;
5756
}
5857

59-
bool useExceptions = true;
58+
var exceptionsDirectory = Path.Combine(reportsDirectory, "Exceptions");
59+
bool useExceptions = true;
6060
if (args.Length > 2)
6161
{
6262
bool.TryParse(args[2], out useExceptions);

0 commit comments

Comments
 (0)