mirror of
https://github.com/github/semantic.git
synced 2024-12-21 05:41:54 +03:00
Appease hlint
This commit is contained in:
parent
c72ae3c161
commit
d4ac097291
@ -37,4 +37,4 @@ fromModules :: PackageName -> Maybe Version -> Maybe (Module term) -> Int -> [Mo
|
||||
fromModules name version prelude entryPoints modules =
|
||||
Package (PackageInfo name version) (PackageBody (ModuleTable.fromModules modules) prelude entryPoints')
|
||||
where
|
||||
entryPoints' = ModuleTable . Map.fromList $ (,Nothing) . modulePath . moduleInfo <$> if entryPoints == 0 then modules else (take entryPoints modules)
|
||||
entryPoints' = ModuleTable . Map.fromList $ (,Nothing) . modulePath . moduleInfo <$> if entryPoints == 0 then modules else take entryPoints modules
|
||||
|
Loading…
Reference in New Issue
Block a user