Skip to content
Snippets Groups Projects
Commit fe0a4aaf authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Comment.

parent eda3dd75
No related branches found
No related tags found
No related merge requests found
......@@ -115,6 +115,8 @@ uploadDoc verbosity repoCtxt mUsername mPassword candidate path = do
notice verbosity $ "Uploading documentation " ++ path ++ "... "
resp <- putHttpFile transport verbosity uploadURI path auth headers
case resp of
-- Hackage responds with 204 No Content when docs are uploaded
-- successfully.
(code,_) | code `elem` [200,204] -> do
notice verbosity "Ok"
(code,err) -> do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment