diff options
Diffstat (limited to 'Upgrade/V1.hs')
-rw-r--r-- | Upgrade/V1.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Upgrade/V1.hs b/Upgrade/V1.hs index b2f2f38c1..36d06dc48 100644 --- a/Upgrade/V1.hs +++ b/Upgrade/V1.hs @@ -180,7 +180,8 @@ writeLog1 :: FilePath -> [LogLine] -> IO () writeLog1 file ls = viaTmp writeFile file (showLog ls) readLog1 :: FilePath -> IO [LogLine] -readLog1 file = catchDefaultIO (parseLog <$> readFileStrict file) [] +readLog1 file = catchDefaultIO [] $ + parseLog <$> readFileStrict file lookupFile1 :: FilePath -> Annex (Maybe (Key, Backend)) lookupFile1 file = do |