diff --git a/Src/CSharpier.Cli/Options/CaseInsensitiveEnumConverter.cs b/Src/CSharpier.Cli/Options/CaseInsensitiveEnumConverter.cs index 8cdeeb386..2968d3ab4 100644 --- a/Src/CSharpier.Cli/Options/CaseInsensitiveEnumConverter.cs +++ b/Src/CSharpier.Cli/Options/CaseInsensitiveEnumConverter.cs @@ -20,7 +20,7 @@ JsonSerializerOptions options } var enumText = reader.GetString(); - if (Enum.TryParse(enumText, true, out TEnum result)) + if (Enum.TryParse(enumText, ignoreCase: true, out TEnum result)) { return result; }