chore: clean up code by removing trailing whitespace and ensuring consistent formatting across various files = prettier
This commit is contained in:
@@ -84,7 +84,7 @@ export function suggestKeyword(descriptions: string[]): string {
|
||||
if (sorted.length > 0) {
|
||||
// Return the longest frequent keyword
|
||||
return sorted.reduce((best, current) =>
|
||||
current[0].length > best[0].length ? current : best
|
||||
current[0].length > best[0].length ? current : best,
|
||||
)[0];
|
||||
}
|
||||
|
||||
@@ -92,4 +92,3 @@ export function suggestKeyword(descriptions: string[]): string {
|
||||
const firstKeywords = extractKeywords(descriptions[0]);
|
||||
return firstKeywords[0] || descriptions[0].slice(0, 15);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user