hlint
This commit is contained in:
parent
8cc90219d2
commit
c1990702e9
15 changed files with 40 additions and 42 deletions
|
@ -181,9 +181,9 @@ checkPresent r k = davAction r noconn go
|
|||
- or perhaps this was an intermittent error. -}
|
||||
onerr url = do
|
||||
v <- davUrlExists url user pass
|
||||
if v == Right True
|
||||
then return $ Left $ "failed to read " ++ url
|
||||
else return v
|
||||
return $ if v == Right True
|
||||
then Left $ "failed to read " ++ url
|
||||
else v
|
||||
|
||||
withStoredFiles
|
||||
:: Remote
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue