Skip to content

Commit

Permalink
Done formating on terminal.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ozy-Viking committed Dec 14, 2023
1 parent cafcfad commit ce8ee4e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ export class Terminal {
* @param res
*/
protected exit = (res : {exitCode: number; signal?: number | undefined;}) => {
this.server.io
.to(this.name)
.emit("terminalExit", this.name, res.exitCode);
this.server.io.to(this.name).emit("terminalExit", this.name, res.exitCode);

// Remove room
this.server.io.in(this.name).socketsLeave(this.name);
Expand Down

0 comments on commit ce8ee4e

Please sign in to comment.