Github user jiangphcn commented on a diff in the pull request:

    https://github.com/apache/couchdb-couch-index/pull/22#discussion_r106895656
  
    --- Diff: src/couch_index_updater.erl ---
    @@ -202,15 +202,16 @@ purge_index(Db, Mod, IdxState) ->
                 {ok, IdxState};
             true ->
                 FoldFun = fun({PurgeSeq, _UUId, Id, Revs}, Acc) ->
    -                Mod:purge(Db, PurgeSeq, [{Id, Revs}], Acc)
    +                {ok, StateAcc} = Mod:purge(Db, PurgeSeq, [{Id, Revs}], 
Acc),
    +                StateAcc
                 end,
                 {ok, NewStateAcc} = couch_db:fold_purged_docs(
    -                    Db,
    --- End diff --
    
    Thanks, Bob. The format issue was fixed here intentionally to use same 
indent mode.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to