From 988b8fd7fdba5eee0b100401351199af918bc9e0 Mon Sep 17 00:00:00 2001
From: stuebinm <stuebinm@disroot.org>
Date: Thu, 16 Dec 2021 00:30:30 +0100
Subject: [PATCH] made a partial function total

(shouldn't have been called anyways, but it's still nice not to have it
fail if it ever does get called with that case)
---
 lib/Types.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/Types.hs b/lib/Types.hs
index 481dd22..6f80d55 100644
--- a/lib/Types.hs
+++ b/lib/Types.hs
@@ -80,6 +80,8 @@ instance PrettyPrint Lint where
     "  Info: found dependency: " <> prettyprint dep
   prettyprint (Offers dep) =
     "  Info: map offers entrypoint " <> prettyprint dep
+  prettyprint (Badge _) =
+    "  Info: found a badge."
 
 instance PrettyPrint Hint where
   prettyprint (Hint level msg) = "  " <> (showText level) <> ": " <> msg
-- 
GitLab