From 8e3a75ad57321b3351a59a0e8bea49ce5837246e Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 21 Mar 2025 17:48:54 +0200 Subject: [PATCH] chore(client/ts): reduce log level for syntax highlight widget --- .../app/widgets/type_widgets/ckeditor/syntax_highlight.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/type_widgets/ckeditor/syntax_highlight.ts b/src/public/app/widgets/type_widgets/ckeditor/syntax_highlight.ts index 36d7f0f40..7ad0424ac 100644 --- a/src/public/app/widgets/type_widgets/ckeditor/syntax_highlight.ts +++ b/src/public/app/widgets/type_widgets/ckeditor/syntax_highlight.ts @@ -25,7 +25,7 @@ const HIGHLIGHT_MAX_BLOCK_COUNT = 500; const tag = "SyntaxHighlightWidget"; const debugLevels = ["error", "warn", "info", "log", "debug"]; -const debugLevel = debugLevels.indexOf("debug"); +const debugLevel = debugLevels.indexOf("warn"); let warn = function (...args: unknown[]) {}; if (debugLevel >= debugLevels.indexOf("warn")) {