Skip to content

Commit

Permalink
fix complain error
Browse files Browse the repository at this point in the history
  • Loading branch information
hyzx86 committed Feb 23, 2023
1 parent f2d513d commit 075d689
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Modules/EasyOC.ReplaceAction/ServiceExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Castle.Core.Logging;
using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
Expand Down Expand Up @@ -75,9 +74,6 @@ public static IServiceProvider UseReplaceAction(this IServiceProvider servicePro
.OfType<ControllerActionDescriptor>()
.ToArray();

var logger = serviceProvider.GetService<ILogger>();


foreach (var descriptor in descriptors)
{
foreach (var item in config.Items.OrderBy(x => x.Order))
Expand Down

0 comments on commit 075d689

Please sign in to comment.