diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-07-26 19:15:34 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-07-26 19:15:34 -0400 |
commit | bcc5ee4f322a139ee7cef2bae1fc9bea9f5398ca (patch) | |
tree | d4bfd67f6efcb0000c8749aaa6cdae964b333edc /Command/Find.hs | |
parent | e0b3fc906467ded314c75417d5b11b4b04375d1a (diff) |
Removed dependency on json library; all JSON is now handled by aeson.
I've eyeballed all --json commands, and the only difference should be
that some fields are re-ordered.
Diffstat (limited to 'Command/Find.hs')
-rw-r--r-- | Command/Find.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Find.hs b/Command/Find.hs index 9cd075ed6..553ddc419 100644 --- a/Command/Find.hs +++ b/Command/Find.hs @@ -66,7 +66,7 @@ start o file key = ifM (limited <||> inAnnex key) showFormatted :: Maybe Utility.Format.Format -> String -> [(String, String)] -> Annex () showFormatted format unformatted vars = - unlessM (showFullJSON $ JSONObject vars) $ + unlessM (showFullJSON $ JSONChunk vars) $ case format of Nothing -> liftIO $ putStrLn unformatted Just formatter -> liftIO $ putStr $ |