Debug: log clave evaluando
This commit is contained in:
@@ -726,6 +726,7 @@ for (const linea of lineas) {
|
|||||||
const lineaLower = linea.toLowerCase().trim();
|
const lineaLower = linea.toLowerCase().trim();
|
||||||
|
|
||||||
for (const [clave, info] of Object.entries(mapeoParametros)) {
|
for (const [clave, info] of Object.entries(mapeoParametros)) {
|
||||||
|
console.log('Clave evaluando:', clave, 'incluye?', lineaLower.includes(clave));
|
||||||
if (lineaLower.includes(clave)) {
|
if (lineaLower.includes(clave)) {
|
||||||
const cleanLinea = linea.replace(/show_chart|list_alt/g, '').replace(/\t+/g, ' ').replace(/\s+/g, ' ').trim();
|
const cleanLinea = linea.replace(/show_chart|list_alt/g, '').replace(/\t+/g, ' ').replace(/\s+/g, ' ').trim();
|
||||||
const partes = cleanLinea.split(' ');
|
const partes = cleanLinea.split(' ');
|
||||||
|
|||||||
Reference in New Issue
Block a user