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:
parent
e661e49f73
commit
ffbe4dbbda
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user