Skip to content

Commit

Permalink
mode code analysis fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kentico-ericd committed Aug 9, 2023
1 parent ec20e65 commit 82672df
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion KenticoInspector.Actions/GlobalAdminSummary/Scripts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
public static class Scripts
{
public static string BaseDirectory = $"{nameof(GlobalAdminSummary)}/Scripts";
public static string BaseDirectory => $"{nameof(GlobalAdminSummary)}/Scripts";

public static string GetAdministrators => $"{BaseDirectory}/{nameof(GetAdministrators)}.sql";

Expand Down
2 changes: 1 addition & 1 deletion KenticoInspector.Actions/SiteStatusSummary/Scripts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
public static class Scripts
{
public static string BaseDirectory = $"{nameof(SiteStatusSummary)}/Scripts";
public static string BaseDirectory => $"{nameof(SiteStatusSummary)}/Scripts";

public static string GetSiteSummary => $"{BaseDirectory}/{nameof(GetSiteSummary)}.sql";

Expand Down
2 changes: 1 addition & 1 deletion KenticoInspector.Core/Constants/ActionTags.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace KenticoInspector.Core.Constants
{
public class ActionTags
public static class ActionTags
{
public const string Reset = "Reset";
public const string User = "User";
Expand Down
4 changes: 2 additions & 2 deletions KenticoInspector.Infrastructure/Services/ModuleService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public ModuleService(IReportRepository reportRepository, IActionRepository actio
this.databaseService = databaseService;
}

public ActionResults ExecuteAction(string codename, Guid instanceGuid, string optionsJson)
public ActionResults ExecuteAction(string actionCodename, Guid instanceGuid, string optionsJson)
{
var action = actionRepository.GetAction(codename);
var action = actionRepository.GetAction(actionCodename);
var instance = instanceService.SetCurrentInstance(instanceGuid);
databaseService.Configure(instance.DatabaseSettings);

Expand Down

0 comments on commit 82672df

Please sign in to comment.