DEV: lint file

DEV: lint file

File was not linting properly

diff --git a/assets/javascripts/initializers/discourse-graphviz.js.es6 b/assets/javascripts/initializers/discourse-graphviz.js.es6
index ce723c6..91fb18d 100644
--- a/assets/javascripts/initializers/discourse-graphviz.js.es6
+++ b/assets/javascripts/initializers/discourse-graphviz.js.es6
@@ -24,22 +24,25 @@ export default {
     const $spinner = $("<div class='spinner tiny'></div>");
     $container.html($spinner);
 
-    loadScript("/plugins/discourse-graphviz/javascripts/@hpcc-js/wasm@0.3.14/dist/index.min.js").then(
-      () => {
-        $container.removeClass("is-loading");
+    loadScript(
+      "/plugins/discourse-graphviz/javascripts/@hpcc-js/wasm@0.3.14/dist/index.min.js"
+    ).then(() => {
+      $container.removeClass("is-loading");
 
-        let hpccWasm = self["@hpcc-js/wasm"];
-        hpccWasm.graphviz.layout(graphDefinition, "svg", engine).then((svgChart) => {
+      let hpccWasm = self["@hpcc-js/wasm"];
+      hpccWasm.graphviz
+        .layout(graphDefinition, "svg", engine)
+        .then(svgChart => {
           $container.html(svgChart);
-        }).catch(e => {
+        })
+        .catch(() => {
           // graphviz error are unhelpful so we just show a default error
           const $error = $(
             "<div class='graph-error'>Error while rendering graph.</div>"
           );
           $container.html($error);
         });
-      }
-    );
+    });
   },
 
   initialize() {

GitHub sha: db796392