diff options
Diffstat (limited to 'app/SlackBuilder')
| -rw-r--r-- | app/SlackBuilder/Package.hs | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
