Skip to content

Commit

Permalink
fixing error with file creation
Browse files Browse the repository at this point in the history
  • Loading branch information
TalBenAvi committed May 6, 2024
1 parent 304ecdd commit 1e6155c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workspaces/cms-scripts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ const extractTags = (projects: Project[]): TagObject[] => {
const slugifyDApps = slugifyTags(dAppsData.content);
const categories = extractTags(dAppsData.content);

await fs.mkdir("public/data/starknet-db-projects-dapps", { recursive: true });
await write(
`public/data/starknet-db-projects-dapps/starknet-db-projects-dapps.json`,
{ list: slugifyDApps, categories }
Expand Down

0 comments on commit 1e6155c

Please sign in to comment.