mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Placate hlint.
This commit is contained in:
parent
d4e6d87756
commit
152ba7f549
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user