Skip to content

Commit

Permalink
fix linting problems
Browse files Browse the repository at this point in the history
  • Loading branch information
oltolm authored and WebFreak001 committed Mar 11, 2024
1 parent 05499b9 commit 04068e9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"ts-node": "^10.8.0",
"typescript": "^3.9.3"
"typescript": "^4.3.2"
},
"__metadata": {
"id": "2fd22b8e-b3b8-4e7f-9a28-a5e2d1bdd0d4",
Expand Down
8 changes: 4 additions & 4 deletions src/backend/mi2/mi2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,10 @@ export class MI2 extends EventEmitter implements IBackend {
this.log("stderr", "Program exited with code " + parsed.record("exit-code"));
this.emit("exited-normally", parsed);
break;
// case "exited-signalled": // consider handling that explicit possible
// this.log("stderr", "Program exited because of signal " + parsed.record("signal"));
// this.emit("stopped", parsed);
// break;
// case "exited-signalled": // consider handling that explicit possible
// this.log("stderr", "Program exited because of signal " + parsed.record("signal"));
// this.emit("stopped", parsed);
// break;

default:
this.log("console", "Not implemented stop reason (assuming exception): " + reason);
Expand Down
1 change: 0 additions & 1 deletion src/mibase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ export class MI2DebugSession extends DebugSession {
this.sendResponse(response);
}).catch((error: MIError) => {
if (error.message === 'Selected thread is running.') {
console.error(error.message);
this.sendResponse(response);
return;
}
Expand Down

0 comments on commit 04068e9

Please sign in to comment.