Remove offending putStrLn-s

The two removed lines littered the terminal.
This commit is contained in:
Fábián Tamás László 2017-12-27 11:49:08 +01:00 committed by GitHub
parent a4448fa941
commit 5527036d6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -782,7 +782,6 @@ updateBlock ordered col (prevCount, docs) = do
++ (show unknownErr)]
let upsertedList = map docToUpserted $ fromMaybe [] (doc !? "upserted")
liftIO $ putStrLn $ show doc
let successResults = WriteResult False n (doc !? "nModified") 0 upsertedList [] []
return $ foldl1' mergeWriteResults [writeErrorsResults, writeConcernResults, successResults]
@ -938,7 +937,6 @@ deleteBlock ordered col (prevCount, docs) = do
Confirm params -> params
doc <- runCommand $ deleteCommandDocument col ordered docs writeConcern
let n = fromMaybe 0 $ doc !? "n"
liftIO $ putStrLn $ "result of delete block: " ++ (show n)
let successResults = WriteResult False 0 Nothing n [] [] []
let writeErrorsResults =