Skip to content

Commit

Permalink
chore: Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Aug 18, 2024
1 parent 208ddaa commit a08202d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/LinkDotNet.Blog.Web/LinkDotNet.Blog.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageReference Include="Blazored.Toast" Version="4.2.1" />
<PackageReference Include="Blazorise.Bootstrap5" Version="1.6.0" />
<PackageReference Include="Blazorise.Markdown" Version="1.6.0" />
<PackageReference Include="NCronJob" Version="3.0.0-preview" />
<PackageReference Include="NCronJob" Version="3.0.1-preview" />
<PackageReference Include="Markdig" Version="0.37.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="9.0.0-preview.7.24406.2" />
<PackageReference Include="Microsoft.Extensions.Options" Version="9.0.0-preview.7.24405.7" />
Expand Down
7 changes: 4 additions & 3 deletions src/LinkDotNet.Blog.Web/Program.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.Threading.Tasks;
using Blazored.Toast;
using Blazorise;
using Blazorise.Bootstrap5;
Expand All @@ -14,15 +15,15 @@ namespace LinkDotNet.Blog.Web;

public class Program
{
public static void Main(string[] args)
public static async Task Main(string[] args)
{
var builder = WebApplication.CreateBuilder(args);
RegisterServices(builder);

var app = builder.Build();
await using var app = builder.Build();
ConfigureApp(app);

app.Run();
await app.RunAsync();
}

private static void RegisterServices(WebApplicationBuilder builder)
Expand Down
9 changes: 1 addition & 8 deletions tests/LinkDotNet.Blog.IntegrationTests/SmokeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,7 @@ public async ValueTask DisposeAsync()
{
if (factory is not null)
{
try
{
await factory.DisposeAsync();
}
catch
{
// TODO: NCronJob sometimes throws an exception here
}
await factory.DisposeAsync();
}
}
}

0 comments on commit a08202d

Please sign in to comment.