diff options
| author | Eugen Wissner <belka@caraus.de> | 2023-09-25 10:18:00 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2023-09-25 10:18:00 +0200 |
| commit | 7c499bd3f7140397e4737292c4b87ad9e560fef1 (patch) | |
| tree | ce38557723e52f26a2d708b49624e6542200cac3 /app/SlackBuilder/Updater.hs | |
| parent | ec704e267b1344ca30654850b7d127198846d081 (diff) | |
| download | slackbuilder-7c499bd3f7140397e4737292c4b87ad9e560fef1.tar.gz | |
universal-ctags: Add version path segment
… to the download URL.
Diffstat (limited to 'app/SlackBuilder/Updater.hs')
| -rw-r--r-- | app/SlackBuilder/Updater.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/SlackBuilder/Updater.hs b/app/SlackBuilder/Updater.hs index 6663bb7..864e466 100644 --- a/app/SlackBuilder/Updater.hs +++ b/app/SlackBuilder/Updater.hs @@ -109,7 +109,7 @@ latestPackagist PackagistArguments{..} = do latestText :: TextArguments -> SlackBuilderT (Maybe Text) latestText (TextArguments textArguments) = do uri <- liftIO $ useHttpsURI <$> mkURI textArguments - packagistResponse <- traverse (runReq defaultHttpConfig) $ go . fst <$> uri + packagistResponse <- traverse (runReq defaultHttpConfig . go . fst) uri pure $ Text.strip . Text.Encoding.decodeASCII . responseBody <$> packagistResponse |
