Skip to content

Commit

Permalink
Fix settings file path
Browse files Browse the repository at this point in the history
  • Loading branch information
fhelwanger committed Mar 15, 2021
1 parent 282c5a5 commit 9571872
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
Expand All @@ -17,7 +18,8 @@ static void Main(string[] args)

try
{
_options = Options.ParseFromFile("settings.json");
var settingsPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "settings.json");
_options = Options.ParseFromFile(settingsPath);
}
catch (Exception)
{
Expand Down

0 comments on commit 9571872

Please sign in to comment.