mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-02-02 01:20:24 +01:00
Merge pull request #258 from bergmark/patch-3
Update convertGithubUser comment
This commit is contained in:
commit
a3c02ccad9
@ -484,10 +484,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
|||||||
Just range' -> tell $ PackageMap $ Map.singleton (PackageName package) (range', Maintainer maintainer)
|
Just range' -> tell $ PackageMap $ Map.singleton (PackageName package) (range', Maintainer maintainer)
|
||||||
|
|
||||||
-- | Replacement Github users. This is useful when a project is owned by an
|
-- | Replacement Github users. This is useful when a project is owned by an
|
||||||
-- organization, and you'd like to ping either an individual or a team in that
|
-- organization. It also lets you ping multiple users.
|
||||||
-- organization. See:
|
|
||||||
--
|
--
|
||||||
-- https://github.com/fpco/stackage/issues/226#issuecomment-45644142
|
-- Note that cross organization team mentions aren't allowed by Github.
|
||||||
convertGithubUser :: String -> [String]
|
convertGithubUser :: String -> [String]
|
||||||
convertGithubUser x =
|
convertGithubUser x =
|
||||||
fromMaybe [x] $ Map.lookup (map toLower x) pairs
|
fromMaybe [x] $ Map.lookup (map toLower x) pairs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user