tslint: Enable variable-name

This commit is contained in:
Simon Marchi 2018-07-18 11:25:41 -04:00
commit 6e6899a231
4 changed files with 10 additions and 11 deletions

View file

@ -743,12 +743,12 @@ export class MI2 extends EventEmitter implements IBackend {
}
async sendCliCommand(command: string, threadId: number = 0, frameLevel: number = 0) {
let mi_command = "interpreter-exec ";
let miCommand = "interpreter-exec ";
if (threadId != 0) {
mi_command += `--thread ${threadId} --frame ${frameLevel} `;
miCommand += `--thread ${threadId} --frame ${frameLevel} `;
}
mi_command += `console "${command.replace(/[\\"']/g, '\\$&')}"`;
await this.sendCommand(mi_command);
miCommand += `console "${command.replace(/[\\"']/g, '\\$&')}"`;
await this.sendCommand(miCommand);
}
sendCommand(command: string, suppressFailure: boolean = false): Thenable<MINode> {