Skip to content

Commit 2c849bd

Browse files
committed
style(server): linted code
1 parent d590898 commit 2c849bd

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

src/server/handler.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ export const handler: APIGatewayProxyHandler = async (event, _context) => {
3737
const result = await sls(event, _context);
3838
return result;
3939
};
40-

src/server/server.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ const config = JSON.parse(fs.readFileSync('./config/appconfig.json', 'UTF-8'));
1111
const appConfig = AppConfig.merge(defaultConfig, config);
1212

1313
(async () => {
14-
if (require.main === module) {
15-
ServerFactory.createServer(
16-
process.env.NODE_ENV as string,
17-
server,
18-
appConfig
19-
);
20-
}
21-
})();
14+
if (require.main === module) {
15+
ServerFactory.createServer(
16+
process.env.NODE_ENV as string,
17+
server,
18+
appConfig
19+
);
20+
}
21+
})();

0 commit comments

Comments
 (0)