tslint: Enable variable-name
This commit is contained in:
parent
7c76de4536
commit
6e6899a231
4 changed files with 10 additions and 11 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue