Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(YML): Removes backticks from typescript/classes/this title in es and pt translations #1421

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

mfdebian
Copy link
Collaborator

Los backticks en los archivos de internacionalización de objetivos de aprendizaje estaba haciendo que el parser, al generar los proyectos, arrojara el siguiente error:

YAMLException: bad indentation of a mapping entry (1225:10)

 1222 |       url: https://www.typescriptlang.o ...
 1223 | 
 1224 | typescript/classes/this:
 1225 |   title: `this`
-----------------^
 1226 |   links:
 1227 |     - title: Documentación oficial de T ...
    at generateError (file:///home/user/Documents/laboratoria/bootcamp/node_modules/js-yaml/dist/js-yaml.mjs:1273:10)
    at throwError (file:///home/user/Documents/laboratoria/bootcamp/node_modules/js-yaml/dist/js-yaml.mjs:1277:9)
    at readBlockMapping (file:///home/user/Documents/laboratoria/bootcamp/node_modules/js-yaml/dist/js-yaml.mjs:2272:7)
    at composeNode (file:///home/user/Documents/laboratoria/bootcamp/node_modules/js-yaml/dist/js-yaml.mjs:2531:12)
    at readBlockMapping (file:///home/user/Documents/laboratoria/bootcamp/node_modules/js-yaml/dist/js-yaml.mjs:2254:11)
    at composeNode (file:///home/user/Documents/laboratoria/bootcamp/node_modules/js-yaml/dist/js-yaml.mjs:2531:12)
    at readDocument (file:///home/user/Documents/laboratoria/bootcamp/node_modules/js-yaml/dist/js-yaml.mjs:2715:3)
    at loadDocuments (file:///home/user/Documents/laboratoria/bootcamp/node_modules/js-yaml/dist/js-yaml.mjs:2778:5)
    at Object.load$1 [as load] (file:///home/user/Documents/laboratoria/bootcamp/node_modules/js-yaml/dist/js-yaml.mjs:2804:19)
    at loadYaml (file:///home/user/Documents/laboratoria/bootcamp/node_modules/@laboratoria/curriculum-parser/lib/project.js:28:8) {
  reason: 'bad indentation of a mapping entry',

@mfdebian mfdebian self-assigned this Jun 28, 2023
@mfdebian mfdebian added this to the v6.4 milestone Jun 28, 2023
@mfdebian mfdebian merged commit 31d2cae into Laboratoria:main Jun 28, 2023
@mfdebian mfdebian deleted the fix-ts-oa branch June 28, 2023 16:06
mfdebian added a commit to mfdebian/curriculum that referenced this pull request Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant