Skip to content

Commit

Permalink
fix(basic.gblib): Fix in free tier.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed May 4, 2021
1 parent 80697cf commit 660d130
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 0 additions & 2 deletions packages/basic.gblib/services/SystemKeywords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down Expand Up @@ -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;
Expand Down
5 changes: 3 additions & 2 deletions packages/core.gbapp/services/GBMinService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 660d130

Please sign in to comment.