chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -234,9 +234,7 @@ export interface TaglineOptions {
|
||||
export function activeTaglines(options: TaglineOptions = {}): string[] {
|
||||
if (TAGLINES.length === 0) return [DEFAULT_TAGLINE];
|
||||
const today = options.now ? options.now() : new Date();
|
||||
const filtered = TAGLINES.filter((tagline) =>
|
||||
isTaglineActive(tagline, today),
|
||||
);
|
||||
const filtered = TAGLINES.filter((tagline) => isTaglineActive(tagline, today));
|
||||
return filtered.length > 0 ? filtered : TAGLINES;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user