This commit is contained in:
parent
864107fca0
commit
b5bf44fd70
1 changed files with 2 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue