Skip to content

Commit

Permalink
apply nitpicks 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vishvamsinh28 committed Dec 16, 2024
1 parent 893ac66 commit 069128a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/build-post-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ const releaseNotes = []

const addItem = (details) => {
if (details.slug.startsWith('/docs'))
result["docs"].push(details)
result.docs.push(details)
else if (details.slug.startsWith('/blog'))
result["blog"].push(details)
result.blog.push(details)
else if (details.slug.startsWith('/about'))
result["about"].push(details)
result.about.push(details)
};

/**
Expand Down

0 comments on commit 069128a

Please sign in to comment.