avoid using print action, which is reserved for debugging
This commit is contained in:
parent
8cb060fd42
commit
60d382a840
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ startGet = next $ next $ do
|
||||||
Annex.setOutput QuietOutput
|
Annex.setOutput QuietOutput
|
||||||
v <- getGlobalNumCopies
|
v <- getGlobalNumCopies
|
||||||
case v of
|
case v of
|
||||||
Just n -> liftIO $ print $ fromNumCopies n
|
Just n -> liftIO $ putStrLn $ show $ fromNumCopies n
|
||||||
Nothing -> do
|
Nothing -> do
|
||||||
liftIO $ putStrLn "global numcopies is not set"
|
liftIO $ putStrLn "global numcopies is not set"
|
||||||
old <- deprecatedNumCopies
|
old <- deprecatedNumCopies
|
||||||
|
|
Loading…
Reference in a new issue