@icarusmx/creta 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/creta.js +3 -3
- package/package.json +1 -1
package/bin/creta.js
CHANGED
|
@@ -34,7 +34,7 @@ const ENUNCIADOS = [
|
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
id: 4,
|
|
37
|
-
texto: "Cada operación declarada por un objeto debe incluir:\
|
|
37
|
+
texto: "Cada operación declarada por un objeto debe incluir:\na) nombre de la operación\nb) insumos necesarios para realizar la operación\nc) el valor que regresa tras ejecutar la operación\n\nEstos tres elementos constituyen la firma de operación.",
|
|
38
38
|
nivel: "Firmas",
|
|
39
39
|
enfoque: "Contratos de operación"
|
|
40
40
|
},
|
|
@@ -804,7 +804,7 @@ async function startEnunciadosSelectorInteractive() {
|
|
|
804
804
|
let formattedText = enunciado.texto
|
|
805
805
|
if (enunciado.id === 4) {
|
|
806
806
|
// Special formatting for enunciado 4 with list items
|
|
807
|
-
formattedText = formattedText.replace(/\n
|
|
807
|
+
formattedText = formattedText.replace(/\n([abc])\)/g, '\n $1)')
|
|
808
808
|
}
|
|
809
809
|
console.log(`${highlight}${prefix}${index + 1}. ${formattedText}${reset}`)
|
|
810
810
|
console.log("")
|
|
@@ -988,7 +988,7 @@ async function startEnunciadosSelectorFallback() {
|
|
|
988
988
|
let formattedText = enunciado.texto
|
|
989
989
|
if (enunciado.id === 4) {
|
|
990
990
|
// Special formatting for enunciado 4 with list items
|
|
991
|
-
formattedText = formattedText.replace(/\n
|
|
991
|
+
formattedText = formattedText.replace(/\n([abc])\)/g, '\n $1)')
|
|
992
992
|
}
|
|
993
993
|
console.log(`${index + 1}. ${formattedText}`)
|
|
994
994
|
console.log("")
|