From eda1e39ccd344713b84bd0b0da550f91b03f7c3a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Nov 2024 15:06:23 +0000 Subject: [PATCH] style: auto format --- lib/routes/google/news.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/routes/google/news.ts b/lib/routes/google/news.ts index c0f2bb5a690c8f..025da3e1bf1e54 100644 --- a/lib/routes/google/news.ts +++ b/lib/routes/google/news.ts @@ -80,7 +80,9 @@ async function handler(ctx) { .map((author) => author.trim()) .filter((author) => { // Filter out empty strings and common suffixes - if (!author) {return false;} + if (!author) { + return false; + } const suffixes = ['et al', 'et al.']; return !suffixes.some((suffix) => author.toLowerCase().endsWith(suffix)); })