Skip to content

Commit

Permalink
chore: remove unnecessary suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
guitarrapc committed Dec 17, 2024
1 parent cb4cbdb commit 3d44e8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,5 @@ dotnet_diagnostic.CA2200.severity = error # Rethrow to preserve stack details
dotnet_diagnostic.IDE0005.severity = warning # Remove unnecessary imports
dotnet_diagnostic.IDE0051.severity = warning # Remove unused private member
dotnet_diagnostic.IDE0052.severity = warning # Remove unread private member
dotnet_diagnostic.IDE0079.severity = none # Remove unnecessary suppression
dotnet_diagnostic.IDE0090.severity = none # Simplify new expression
6 changes: 5 additions & 1 deletion src/Actions/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Actions;
using Actions;
using Actions.Commands;
using Actions.Utils;
using ConsoleAppFramework;
Expand All @@ -11,6 +11,8 @@ namespace Actions
{
public class ActionsBatch
{
#pragma warning disable CA1822 // Mark members as static

/// <summary>Get version string from tag</summary>
/// <param name="tag"></param>
/// <param name="prefix"></param>
Expand Down Expand Up @@ -71,6 +73,8 @@ public void CreateDummy(string basePath)
Console.WriteLine($"Completed ...");
}

#pragma warning restore CA1822 // Mark members as static

private static string OutputFormat(string key, string value, OutputFormatType format) => format switch
{
OutputFormatType.Console => value,
Expand Down

0 comments on commit 3d44e8f

Please sign in to comment.