feat: create challenge 50 on issues with effect (#841)

This commit is contained in:
Laforge Thomas
2024-05-07 14:41:23 +02:00
committed by GitHub
parent 63528e4c89
commit bfe7f23105
24 changed files with 288 additions and 18 deletions

View File

@@ -120,7 +120,9 @@ export async function challengeGenerator(tree: Tree, options: Schema) {
for (const lang of ['en', 'es', 'fr', 'pt', 'ru']) {
const docs = tree
.read(`./docs/src/content/docs/${lang === 'en' ? '' : lang}/index.mdx`)
.read(
`./docs/src/content/docs/${lang === 'en' ? '' : `${lang}/`}index.mdx`,
)
.toString();
const regex = new RegExp(