Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
eslint: Fix unicorn/prefer-string-repeat.
Anders Kaseorg2e7c11436ce2
diff --git a/web/src/compose_paste.ts b/web/src/compose_paste.tsindex 718f0a0d575..1789faae2f8 100644--- a/web/src/compose_paste.ts+++ b/web/src/compose_paste.ts@@ -440,7 +440,7 @@ export function paste_handler_converter(continue;}if (consecutive_empty_display_count === 0) {- math_block_markdown += "\n\n\n";+ math_block_markdown += "\n".repeat(3);} else {math_block_markdown += "\n\n";}diff --git a/web/src/stats/stats.ts b/web/src/stats/stats.tsindex a313dc1572c..7ed75401601 100644--- a/web/src/stats/stats.ts+++ b/web/src/stats/stats.ts@@ -762,7 +762,7 @@ function populate_messages_sent_by_client(raw_data: unknown): void {annotations.values.push(plot_data.values[i]!);annotations.labels.push(plot_data.labels[i]!);annotations.text.push(- " " + plot_data.labels[i] + " (" + plot_data.percentages[i] + ")",+ " ".repeat(3) + plot_data.labels[i] + " (" + plot_data.percentages[i] + ")",);}}