fix: typo in build-curriculum.js (#42533)
This commit is contained in:
@ -6,7 +6,7 @@ const { getChallengesForLang } = require('../../../curriculum/getChallenges');
|
|||||||
const globalConfigPath = path.resolve(__dirname, '../../../config');
|
const globalConfigPath = path.resolve(__dirname, '../../../config');
|
||||||
|
|
||||||
// We are defaulting to English because the ids for the challenges are same
|
// We are defaulting to English because the ids for the challenges are same
|
||||||
// accross all languages.
|
// across all languages.
|
||||||
getChallengesForLang('english')
|
getChallengesForLang('english')
|
||||||
.then(JSON.stringify)
|
.then(JSON.stringify)
|
||||||
.then(x => fs.writeFileSync(`${globalConfigPath}/curriculum.json`, x));
|
.then(x => fs.writeFileSync(`${globalConfigPath}/curriculum.json`, x));
|
||||||
|
Reference in New Issue
Block a user