From e415023a72edfc9ee10320c134a17e33a483cddb Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Mon, 3 Sep 2018 01:21:46 -0600 Subject: [PATCH] fix: import log after index in server entrypoint --- server/bin/server.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/bin/server.ts b/server/bin/server.ts index 982b2c3..4681825 100644 --- a/server/bin/server.ts +++ b/server/bin/server.ts @@ -1,9 +1,10 @@ import * as http from "http"; import * as WebSocket from "ws"; -import log from "@common/logger"; import { createApp, ServerState, WebSocketApi } from "../"; +import log from "@common/logger"; + const state = new ServerState(); const app = createApp(state); const webSocketApi = new WebSocketApi(state);