Skip to content

Commit

Permalink
fix(core.gbapp): Deployer now imports UTF-8 .tsv files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Henrique (pragmatismo.io) committed Jul 18, 2019
1 parent e261e91 commit daf0741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/admin.gbapp/dialogs/AdminDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class AdminDialog extends IGBDialog {
const text: string = step.result;
const cmdName = text.split(' ')[0];

step.context.sendActivity(Messages[locale].working(cmdName));
await step.context.sendActivity(Messages[locale].working(cmdName));
let unknownCommand = false;

if (text === 'quit') {
Expand Down
2 changes: 1 addition & 1 deletion packages/kb.gbapp/services/KBService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export class KBService {
instanceId: number,
packageId: number
): Promise<GuaribasQuestion[]> {
const file = Fs.readFileSync(filePath, 'UCS-2');
const file = Fs.readFileSync(filePath, 'utf8');
const opts = {
delimiter: '\t'
};
Expand Down

0 comments on commit daf0741

Please sign in to comment.