1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

We treat this argument as a FilePath.

This commit is contained in:
Rob Rix 2016-05-30 12:38:21 -04:00
parent d584832b6b
commit 3774bfb816

View File

@ -57,7 +57,7 @@ examples directory = do
let keys = Set.unions $ keysSet <$> [as, bs]
pure $ (\name -> (both (as ! name) (bs ! name), Map.lookup name jsons, Map.lookup name patches, Map.lookup name splits)) <$> sort (Set.toList keys)
where
globFor :: String -> IO [FilePath]
globFor :: FilePath -> IO [FilePath]
globFor p = globDir1 (compile p) directory
toDict list = Map.fromList ((normalizeName <$> list) `zip` list)