chore: enforce brackets for if clause and for/while loops
This commit is contained in:
@@ -15,7 +15,9 @@ import type { UnifiedFont } from '../../model/types';
|
||||
* Standalone function to avoid 'this' issues during construction.
|
||||
*/
|
||||
async function fetchAndSeed(ids: string[]): Promise<UnifiedFont[]> {
|
||||
if (ids.length === 0) return [];
|
||||
if (ids.length === 0) {
|
||||
return [];
|
||||
}
|
||||
|
||||
let response: UnifiedFont[];
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user