From 93938d92453268bddac449789f64c07e33cb95f4 Mon Sep 17 00:00:00 2001 From: Kegan Dougal <7190048+kegsay@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:46:40 +0100 Subject: [PATCH] Add lint step --- .github/workflows/tests.yml | 3 +++ src/index.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 423cec0..9045c3d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,5 +27,8 @@ jobs: - name: Build run: yarn build + - name: Lint + run: yarn lint ./src + - name: Docker Build run: docker build -t tardis . \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index f4f386b..b27efdb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -659,7 +659,7 @@ class Dag { return; } document.getElementById("eventdetails")!.textContent = JSON.stringify(d.data, null, 2); - document.getElementById("infocontainer")!.style.display = "block"; + document.getElementById("infocontainer")!.style.display = "block"; }) .attr("transform", `translate(${nodeRadius + 10}, 0)`) .attr("font-family", "sans-serif")