From a7114618c1290b00745db69ef0e60b2e848a662d Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 21 Sep 2023 23:51:02 +0200 Subject: Combine test and application dependencies --- app/SlackBuilder/Package.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'app/SlackBuilder') diff --git a/app/SlackBuilder/Package.hs b/app/SlackBuilder/Package.hs index cc3ea42..a447609 100644 --- a/app/SlackBuilder/Package.hs +++ b/app/SlackBuilder/Package.hs @@ -63,6 +63,7 @@ instance Show DownloadTemplate where show (DownloadTemplate components) = concatMap show components +-- | Replaces placeholders in the URL template with the given version. renderDownloadWithVersion :: MonadThrow m => DownloadTemplate -> Text -> m URI renderDownloadWithVersion (DownloadTemplate components) version = URI.mkURI $ foldr f "" components -- cgit v1.2.3