give it a go

This commit is contained in:
Aaron Greenspan
2019-12-24 22:38:00 -07:00
parent fda1641d9a
commit 78db5b1aa6

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)