1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +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 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 let p = Project.Project rootDir blobs lang (filePath <$> entryPoints) excludeDirs
liftIO $ putStrLn "Done" liftIO $ putStrLn "Done"
pure p pure p