Typescript fixes

This commit is contained in:
WebFreak001 2017-07-23 19:57:12 +02:00
commit d39cdc9633
4 changed files with 7 additions and 7 deletions

View file

@ -503,7 +503,7 @@ export class MI2 extends EventEmitter implements IBackend {
this.log("stderr", "addBreakPoint");
return new Promise((resolve, reject) => {
if (this.breakpoints.has(breakpoint))
return resolve(false);
return resolve([false, undefined]);
let location = "";
if (breakpoint.countCondition) {
if (breakpoint.countCondition[0] == ">")