fix(core.gbapp): Deployer now imports UTF-8 .tsv files.

This commit is contained in:
Paulo Henrique (pragmatismo.io) 2019-07-18 20:42:08 -03:00
parent e261e91028
commit daf0741f0f
2 changed files with 2 additions and 2 deletions

View file

@ -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') {

View file

@ -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'
};