Skip to content

Commit

Permalink
chore: cool
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Nov 28, 2023
1 parent 4fb53ce commit 108a321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extractExamples.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fs.mkdirSync('./examples');
const TICK = ' await new Promise((resolve) => setTimeout(resolve, 0));';

const codeBlocks = fs
.readFileSync('./readme.md', 'utf8')
.readFileSync('./README.md', 'utf8')
.matchAll(/(<!--(?<id>.*?)-->)?\n*```ts(?<code>(.|\n)*?)```/gm);

Array.from(codeBlocks).forEach(({ groups }, index) => {
Expand Down

0 comments on commit 108a321

Please sign in to comment.