Skip to content

Commit

Permalink
fix README generator to generate valid markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 6, 2024
1 parent 0447338 commit e32d6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/generate-index-recipes.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function generateIndex() {
await fs.writeJson(outputPath, index, { spaces: 2 });

console.log(`Writing README to ${readmePath}`);
await fs.writeFile(readmePath, readmeContent, 'utf-8');
await fs.writeFile(readmePath, trim(readmeContent), 'utf-8');

const readmeExists = await fs.pathExists(readmePath);
console.log(`README exists: ${readmeExists}`);
Expand Down

0 comments on commit e32d6c6

Please sign in to comment.