From 39c80cbc0fc6e1eed434229add2f540d6c7db6fe Mon Sep 17 00:00:00 2001 From: Josh Goebel Date: Wed, 2 Jun 2021 07:58:13 -0400 Subject: [PATCH 1/2] (chore) catch invalid json --- .github/workflows/configlet.yml | 1 + config.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/configlet.yml b/.github/workflows/configlet.yml index 6184c35..fd62c24 100644 --- a/.github/workflows/configlet.yml +++ b/.github/workflows/configlet.yml @@ -16,3 +16,4 @@ jobs: - name: Configlet Linter run: configlet lint + run: jq '.' config.json diff --git a/config.json b/config.json index 0314fa7..5d0a573 100644 --- a/config.json +++ b/config.json @@ -260,7 +260,7 @@ "difficulty": 1, "topics": [ "numbers", - "loops", + "loops" ] }, { From fec6edfa2c5ebbc506e5899bc1f4d3834313eeb8 Mon Sep 17 00:00:00 2001 From: Josh Goebel Date: Wed, 2 Jun 2021 08:00:08 -0400 Subject: [PATCH 2/2] fix --- .github/workflows/configlet.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/configlet.yml b/.github/workflows/configlet.yml index fd62c24..4a10bb0 100644 --- a/.github/workflows/configlet.yml +++ b/.github/workflows/configlet.yml @@ -16,4 +16,6 @@ jobs: - name: Configlet Linter run: configlet lint + + - name: Ensure valid JSON run: jq '.' config.json