fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
2 changed files with 7 additions and 1 deletions
Showing only changes of commit 4c64bddea9 - Show all commits

View file

@ -610,7 +610,7 @@ export class KeywordsExpressions {
];
keywords[i++] = [
/^\s*(wait)\s*(\d+)/gim,
/^\s*(wait)\s*(.*)/gim,
($0, $1, $2) => {
return `await sys.wait({pid: pid, seconds:${$2}})`;
}

View file

@ -1938,6 +1938,12 @@ export class SystemKeywords {
public async merge({ pid, file, data, key1, key2 }): Promise<any> {
GBLog.info(`BASIC: MERGE running on ${file} and key1: ${key1}, key2: ${key2}...`);
if (!data){
GBLog.info(`BASIC: MERGE running on ${file}: NO DATA.`);
return data;
}
const { min, user, params } = await DialogKeywords.getProcessInfo(pid);
// Check if is a tree or flat object.