From 04afe790748cadf8dda28f2bbaa0c56749a9aac7 Mon Sep 17 00:00:00 2001
From: Will Hunt <will@half-shot.uk>
Date: Wed, 1 May 2019 16:51:37 +0100
Subject: [PATCH] fix lint

---
 src/discordas.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/discordas.ts b/src/discordas.ts
index d29ec7c..08bd0ab 100644
--- a/src/discordas.ts
+++ b/src/discordas.ts
@@ -94,9 +94,9 @@ async function run(port: number, fileConfig: DiscordBridgeConfig) {
                 } catch (err) { log.error("Exception thrown while handling \"onAliasQuery\" event", err); }
             },
             onEvent: async (request) => {
-                // tslint:disable-next-line no-any
                 // This function emulates the Bluebird.done function so the underlying bridge library doesn't
                 // break.
+                // tslint:disable-next-line no-any
                 const done = function(resolve: (res: any) => void, reject: (err: Error) => void) {
                     // tslint:disable-next-line no-invalid-this no-floating-promises
                     (this as Promise<{}>).then(resolve);
-- 
GitLab