1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

Placate hlint.

This commit is contained in:
Rob Rix 2018-05-30 13:52:39 -04:00
parent d4e6d87756
commit 152ba7f549

View File

@ -48,7 +48,7 @@ resolvePHPName :: ( Member (Modules address value) effects
-> Evaluator address value effects ModulePath
resolvePHPName n = do
modulePath <- resolve [name]
maybe (throwResumable $ NotFoundError name [name] Language.PHP) pure modulePath
maybeM (throwResumable $ NotFoundError name [name] Language.PHP) modulePath
where name = toName n
toName = BC.unpack . dropRelativePrefix . stripQuotes