mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
wait in main to ensure WasSuccessful set
This commit is contained in:
parent
30a1e2c069
commit
f075b5a836
1 changed files with 2 additions and 2 deletions
|
|
@ -18,12 +18,12 @@ public static class Program
|
|||
private static Logger logger;
|
||||
private static readonly TimeSpan OneHourTimeout = TimeSpan.FromHours(1);
|
||||
|
||||
public static async Task Main()
|
||||
public static void Main()
|
||||
{
|
||||
BuildConfigRoot();
|
||||
BuildServiceProvider();
|
||||
snapshotService = serviceProvider.GetService<SnapshotService>();
|
||||
await TryCaptureSnapshots();
|
||||
TryCaptureSnapshots().Wait();
|
||||
}
|
||||
|
||||
private static void BuildConfigRoot() =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue