Skip to content

Commit 59248d8

Browse files
committed
code cleanup v8.3.0
1 parent 6200885 commit 59248d8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/LCT.Common/Logging/LoggerHelper.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static IAnsiConsole ConsoleInstance
4545
}
4646
}
4747
private static int GetAutoConsoleWidth()
48-
{
48+
{
4949

5050
try
5151
{
@@ -107,7 +107,7 @@ private static void ConsoleWrite(Action<IAnsiConsole> writeAction)
107107
}
108108

109109
private static readonly Dictionary<string, string> _colorCache = new Dictionary<string, string>();
110-
private static int _colorIndex = 0;
110+
private static int _colorIndex = 0;
111111

112112
public static void SafeSpectreAction(Action spectreAction, string fallbackMessage, string fallbackType = "Info")
113113
{
@@ -570,7 +570,7 @@ public static void DisplayInputParametersWithSpectreConsole(CatoolInfo caToolInf
570570
ListofPerametersForCli listofPerameters, string exeType, string bomFilePath)
571571
{
572572
string content = GenerateContentByExeType(caToolInformation, appSettings, listofPerameters, exeType, bomFilePath);
573-
InitialDataPanel(content);
573+
InitialDataPanel(content);
574574
}
575575
public static void InitialDataPanel(string content)
576576
{
@@ -869,7 +869,7 @@ public static string WrapPath(string path, int maxLength = 80, string prefix = "
869869
public static void WriteStyledPanel(string content, string title = null, string borderStyle = "white", string headerStyle = "yellow")
870870
{
871871
SafeSpectreAction(() =>
872-
{
872+
{
873873
int consoleWidth = GetAutoConsoleWidth();
874874
int panelWidth = Math.Min(consoleWidth, 150);
875875

@@ -1127,7 +1127,7 @@ private static string GetColorForItem(string key, int value, KpiNames kpiNames)
11271127
kpiNames.PackagesCopiedToSipartyRepo,
11281128
kpiNames.PackagesCopiedToSipartyDevDepRepo,
11291129
kpiNames.PackagesMovedToRepo,
1130-
kpiNames.ComponentsFromTheSPDXImportedAsBaselineEntries,
1130+
kpiNames.ComponentsFromTheSPDXImportedAsBaselineEntries,
11311131
kpiNames.PackagesPresentIn3rdPartyRepo,
11321132
kpiNames.PackagesPresentInDevDepRepo,
11331133
kpiNames.PackagesPresentInReleaseRepo,

0 commit comments

Comments
 (0)