Update SystemKeywords.ts
Some checks failed
GBCI / build (push) Has been cancelled

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-08-25 19:46:19 -03:00
parent 864107fca0
commit b5bf44fd70

View file

@ -1336,6 +1336,7 @@ export class SystemKeywords {
const gbaiName = GBUtil.getGBAIPath(min.botId);
const bucketName = (process.env.DRIVE_ORG_PREFIX + min.botId + '.gbai').toLowerCase();
const localName = path.join(
process.env.PWD,
'work',
gbaiName,
'cache',
@ -1348,6 +1349,7 @@ export class SystemKeywords {
GBLogEx.info(min, `Downloaded .csv: ${csvFile}.`);
}
GBLogEx.info(min, `Reading .csv: ${csvFile}.`);
const data = await fs.readFile(csvFile, 'utf8');
const firstLine = data.split('\n')[0];