#58363 - fix style check failing attempt no.2

This commit is contained in:
Blargian 2024-01-13 13:21:36 +02:00
parent 0fdba3b83d
commit ce012d217f
2 changed files with 3 additions and 3 deletions

View File

@ -269,7 +269,7 @@ struct FormatSettings
UInt64 max_rows = 10000;
UInt64 max_column_pad_width = 250;
UInt64 max_value_width = 10000;
SettingFieldUInt64Auto color{"auto"};
SettingFieldUInt64Auto color{"auto"};
bool output_format_pretty_row_numbers = false;

View File

@ -55,7 +55,7 @@ protected:
total_rows = 0;
}
bool color;
bool color;
private:
bool mono_block;
@ -73,7 +73,7 @@ void registerPrettyFormatWithNoEscapesAndMonoBlock(FormatFactory & factory, cons
const Block & sample,
const FormatSettings & format_settings)
{
bool color = !no_escapes && format_settings.pretty.color.valueOr(isWritingToTerminal(buf));
bool color = !no_escapes && format_settings.pretty.color.valueOr(isWritingToTerminal(buf));
return std::make_shared<OutputFormat>(buf, sample, format_settings, mono_block, color);
});
if (!mono_block)