Skip to content

Commit faf8a32

Browse files
committed
prettier
1 parent f5592ca commit faf8a32

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { Middleware, ExpressMiddlewareInterface } from 'routing-controllers';
1+
import { Middleware, ExpressMiddlewareInterface } from "routing-controllers";
22

3-
@Middleware({ type: 'before' })
3+
@Middleware({ type: "before" })
44
export class LoggingMiddleware implements ExpressMiddlewareInterface {
55
use(request: any, response: any, next: (err: any) => any): void {
66
// TODO maybe remove this middleware, idk if I'll really need it.
77
// Or maybe keep it but only do this if debugging is on.
88
// But I'd want the proper logging object for this.
9-
console.log('Incoming', request.method, request.url);
9+
console.log("Incoming", request.method, request.url);
1010
next(undefined);
1111
}
1212
}

backend/src/services/unix-signal-service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ export class UnixSignalService implements IUnixSignalService {
6363
// Ensure an erray with the default handler exists, to which more
6464
// handlers can be added
6565
const defaultHandler = () => {
66-
console.error(`Received signal ${signal}, exiting`)
67-
process.exit()
68-
}
66+
console.error(`Received signal ${signal}, exiting`);
67+
process.exit();
68+
};
6969

7070
this._handlers.set(signal, [defaultHandler]);
7171

0 commit comments

Comments
 (0)