1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 08:25:19 +03:00

fix bug in readProjectFromPaths

This commit is contained in:
Patrick Thomson 2018-06-12 13:17:06 -04:00
parent e661e49f73
commit ffbe4dbbda

View File

@ -111,7 +111,7 @@ readProjectFromPaths maybeRoot path lang excludeDirs = do
paths <- liftIO $ filterFun <$> findFilesInDir rootDir exts excludeDirs
blobs <- traverse readBlobFromPath (toFile <$> paths)
blobs <- traverse readBlobFromPath (entryPoints <> (toFile <$> paths))
let p = Project.Project rootDir blobs lang (filePath <$> entryPoints) excludeDirs
liftIO $ putStrLn "Done"
pure p