fix(basic.gblib): Fix in free tier.

This commit is contained in:
Rodrigo Rodriguez 2021-05-04 14:45:34 -03:00
parent 80697cf944
commit 660d1309ef
3 changed files with 4 additions and 5 deletions

View file

@ -85,7 +85,7 @@ export class AzureDeployerService implements IGBInstallationDeployer {
public core: IGBCoreService;
private freeTier: boolean;
constructor(deployer: IGBDeployer, freeTier: boolean = false) {
constructor(deployer: IGBDeployer, freeTier: boolean = true) {
this.deployer = deployer;
this.freeTier = freeTier;
}

View file

@ -290,7 +290,6 @@ export class SystemKeywords {
throw `File '${file}' has a FIND call with more than 1 arguments. Check the .gbdialog associated.`;
}
let maxLines = 100;
if (this.dk.user.basicOptions && this.dk.user.basicOptions.maxLines) {
if (this.dk.user.basicOptions.maxLines.toString().toLowerCase() !== "default") {
@ -342,7 +341,6 @@ export class SystemKeywords {
const xlRow = results.text[foundIndex];
for (let colIndex = 0; colIndex < xlRow.length; colIndex++) {
const propertyName = header[colIndex];
GBLog.info(`xxxxxxxxxx ${propertyName}`);
row[propertyName] = xlRow[colIndex];
}
row['line'] = foundIndex + 1;

View file

@ -1110,8 +1110,9 @@ export class GBMinService {
text = text.replace(new RegExp(`${item.replacementToken}`, 'gi'), item.text);
});
}
context.activity.text = text;
context.activity.originalText = originalText;
step.context.activity['text'] = text;
step.context.activity['originalText']= 'pt-BR';
GBLog.info(`Final text ready for NLP/Search/.gbapp: ${text}.`);
if (user.systemUser.agentMode === 'self') {