From 6fec9d473796533c20be592726d10106261a6672 Mon Sep 17 00:00:00 2001 From: "Rune K. Svendsen" Date: Thu, 11 Jan 2024 11:42:56 +0100 Subject: [PATCH] Quote version in `Pretty NotInstalled` instance --- lib/GHCup/Errors.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/GHCup/Errors.hs b/lib/GHCup/Errors.hs index c3fd888..84fe860 100644 --- a/lib/GHCup/Errors.hs +++ b/lib/GHCup/Errors.hs @@ -389,7 +389,7 @@ data NotInstalled = NotInstalled Tool GHCTargetVersion instance Pretty NotInstalled where pPrint (NotInstalled tool ver) = - text "The version" <+> pPrint ver <+> text "of the tool" <+> pPrint tool <+> text "is not installed." + text "The version" <+> (text "'" <> pPrint ver <> text "'") <+> text "of the tool" <+> pPrint tool <+> text "is not installed." instance HFErrorProject NotInstalled where eBase _ = 130