Skip to content

Commit b791d33

Browse files
chore: fix lint, adjust falsy state
1 parent b199f86 commit b791d33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/server/github-cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ export class GitHubCache {
757757
tag_name,
758758
target_commitish: "main",
759759
name: `${repo}@${cleanVersion}`,
760-
body: changelogVersion?.body ?? "_No changelog provided._",
760+
body: changelogVersion?.body || "_No changelog provided._",
761761
draft: false,
762762
prerelease: tag_name.includes("-"),
763763
created_at: committer.date,

src/routes/package/[...package]/ReleaseCard.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
id={release.cleanVersion}
226226
value={`${release.id}`}
227227
class={[
228-
"scroll-mt-20 rounded-md border-b-0 bg-background shadow-lg outline outline-transparent transition-colors duration-300 data-[state=open]:outline-muted-foreground/20 *:data-accordion-content:rounded-b-md *:data-accordion-content:bg-accent/30",
228+
"scroll-mt-20 rounded-md border-b-0 bg-background shadow-lg outline outline-transparent transition-colors duration-300 *:data-accordion-content:rounded-b-md *:data-accordion-content:bg-accent/30 data-[state=open]:outline-muted-foreground/20",
229229
{ "border border-primary": isMajorRelease && index < 3 },
230230
{ "ring ring-primary": page.url.hash && page.url.hash === `#${release.cleanVersion}` }
231231
]}

0 commit comments

Comments
 (0)