give it a go

This commit is contained in:
Aaron Greenspan
2019-12-24 22:38:00 -07:00
parent cf55eabec6
commit 4d14b8c0e8

View File

@@ -75,7 +75,7 @@ loadRegistry rootDirectory = liftIO $ do
pure $ insert appId (fromList . catMaybes $ versionApps) registry
) empty appDirectories
where
getSubDirectories path = listDirectory path >>= filterM doesDirectoryExist
getSubDirectories path = listDirectory path >>= filterM (doesDirectoryExist . (path </>))
getAppFileFromDir :: String -> String -> AppVersion -> IO (Maybe FilePath)