fix(basic.gblib): Fix in free tier.
This commit is contained in:
parent
80697cf944
commit
660d1309ef
3 changed files with 4 additions and 5 deletions
|
@ -85,7 +85,7 @@ export class AzureDeployerService implements IGBInstallationDeployer {
|
||||||
public core: IGBCoreService;
|
public core: IGBCoreService;
|
||||||
private freeTier: boolean;
|
private freeTier: boolean;
|
||||||
|
|
||||||
constructor(deployer: IGBDeployer, freeTier: boolean = false) {
|
constructor(deployer: IGBDeployer, freeTier: boolean = true) {
|
||||||
this.deployer = deployer;
|
this.deployer = deployer;
|
||||||
this.freeTier = freeTier;
|
this.freeTier = freeTier;
|
||||||
}
|
}
|
||||||
|
|
|
@ -290,7 +290,6 @@ export class SystemKeywords {
|
||||||
throw `File '${file}' has a FIND call with more than 1 arguments. Check the .gbdialog associated.`;
|
throw `File '${file}' has a FIND call with more than 1 arguments. Check the .gbdialog associated.`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
let maxLines = 100;
|
let maxLines = 100;
|
||||||
if (this.dk.user.basicOptions && this.dk.user.basicOptions.maxLines) {
|
if (this.dk.user.basicOptions && this.dk.user.basicOptions.maxLines) {
|
||||||
if (this.dk.user.basicOptions.maxLines.toString().toLowerCase() !== "default") {
|
if (this.dk.user.basicOptions.maxLines.toString().toLowerCase() !== "default") {
|
||||||
|
@ -342,7 +341,6 @@ export class SystemKeywords {
|
||||||
const xlRow = results.text[foundIndex];
|
const xlRow = results.text[foundIndex];
|
||||||
for (let colIndex = 0; colIndex < xlRow.length; colIndex++) {
|
for (let colIndex = 0; colIndex < xlRow.length; colIndex++) {
|
||||||
const propertyName = header[colIndex];
|
const propertyName = header[colIndex];
|
||||||
GBLog.info(`xxxxxxxxxx ${propertyName}`);
|
|
||||||
row[propertyName] = xlRow[colIndex];
|
row[propertyName] = xlRow[colIndex];
|
||||||
}
|
}
|
||||||
row['line'] = foundIndex + 1;
|
row['line'] = foundIndex + 1;
|
||||||
|
|
|
@ -1110,8 +1110,9 @@ export class GBMinService {
|
||||||
text = text.replace(new RegExp(`${item.replacementToken}`, 'gi'), item.text);
|
text = text.replace(new RegExp(`${item.replacementToken}`, 'gi'), item.text);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
context.activity.text = text;
|
step.context.activity['text'] = text;
|
||||||
context.activity.originalText = originalText;
|
step.context.activity['originalText']= 'pt-BR';
|
||||||
|
|
||||||
GBLog.info(`Final text ready for NLP/Search/.gbapp: ${text}.`);
|
GBLog.info(`Final text ready for NLP/Search/.gbapp: ${text}.`);
|
||||||
|
|
||||||
if (user.systemUser.agentMode === 'self') {
|
if (user.systemUser.agentMode === 'self') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue