Skip to content

Commit

Permalink
test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroBailaAndrade committed Jan 8, 2024
1 parent 2b75180 commit 792f3b2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions workspaces/cms-scripts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,12 @@ for (const data of roadmapPosts.filenameMap.values()) {
}

for (const data of announcements.filenameMap.values()) {
await write(
`public/data/announcements/${data.locale}/${data.slug}.json`,
data
);
if (!!data) {
await write(
`public/data/announcements/${data.locale}/${data.slug}.json`,
data
);
}
}

for (const locale of locales) {
Expand Down

0 comments on commit 792f3b2

Please sign in to comment.