rzezeski/meck — comment on commit ab6adbdbc0bd5b31412e7cb3bfbeca2e1f7a025a
File: src/meck.erl line 730
By rzezeski:

So, I go back and forth on this one in Erlang all the time. If the last line is simply `file:delete(OriginalData)` then the function's return value depends on what `file:delete` returns. By adding my own `ok` I'm explicitly making sure it returns `ok` regardless of changes make to `file:delete`. I'm also trying to follow the same style as the surrounding code, e.g. `restore_original` does the same thing.