Remove some accidentally added debug code (thanks @chrisdone)

This commit is contained in:
Michael Snoyman 2016-06-08 15:53:55 +03:00
parent 34d23b6e47
commit e1f65cc655

View File

@ -221,8 +221,7 @@ createHoogleDB db man name = handleAny (\e -> print e $> Nothing) $ do
void $ tryIO $ removeFile (fromString outname) void $ tryIO $ removeFile (fromString outname)
createTree (fromString bindir) createTree (fromString bindir)
withSystemTempDirectory ("hoogle-" ++ unpack (toPathPiece name)) $ \_tmpdir -> do withSystemTempDirectory ("hoogle-" ++ unpack (toPathPiece name)) $ \tmpdir -> do
let tmpdir = "/Users/michael/Desktop/hoo"
runResourceT runResourceT
$ sourceTarFile False tarFP $ sourceTarFile False tarFP
$$ mapM_C (liftIO . singleDB db name tmpdir) $$ mapM_C (liftIO . singleDB db name tmpdir)