From 6b059a3faf39b06c15aa77e3055c063f1aa5d044 Mon Sep 17 00:00:00 2001 From: Fernando Cerqueira Date: Mon, 7 Aug 2023 10:44:24 -0300 Subject: [PATCH] Fixed code-smells CodeQL --- Src/Drivers/DriveExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Drivers/DriveExtensions.cs b/Src/Drivers/DriveExtensions.cs index 23eaa42e..23f218ff 100644 --- a/Src/Drivers/DriveExtensions.cs +++ b/Src/Drivers/DriveExtensions.cs @@ -27,7 +27,7 @@ public static partial class PromptPlus private static ConfigControls _configcontrols; private static readonly StyleSchema _styleschema; private static readonly object lockrecord = new(); - private static Encoding OriginalCodePageEncode; + private static readonly Encoding OriginalCodePageEncode; static PromptPlus() { AppConsoleCulture = CultureInfo.CurrentCulture;