Skip to content

Commit

Permalink
Merge pull request #59 from yacinehmito/patch-1
Browse files Browse the repository at this point in the history
Make version takes precedence over platform
  • Loading branch information
deemp committed Apr 6, 2024
2 parents 5c608e8 + 22b8c19 commit ae08612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haskell/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ runFetcher FetcherConfig{..} = do
`catchAny` (\err -> runInIO $ logError (pack $ show err) >> pure [])

let mkKey :: Publisher -> Name -> Platform -> Version -> LastUpdated -> (Publisher, Name, Platform, Version, LastUpdated)
mkKey publisher name platform version lastUpdated = (publisher, name, platform, version, lastUpdated)
mkKey publisher name platform version lastUpdated = (publisher, name, version, platform, lastUpdated)
mkKeyInfo ExtensionInfo{..} = mkKey publisher name platform version lastUpdated
mkKeyConfig ExtensionConfig{..} = mkKey publisher name platform version lastUpdated
-- we load the cached info into a map for quicker access
Expand Down

0 comments on commit ae08612

Please sign in to comment.