You are browsing as a guest. Sign up (or log in) to start making projects!

1h 22m 34s logged

Refactor

I’m going to keep this one quick because it just got deleted for being too long.

The previously mentioned behaviour of overwriting filenames has been fixed and has it’s own unit test now. It was given an exception before the actual rename.

All the rename logic was duplicated between dec and !dec, so I flattened that.

I pulled out the pre-rename exception logic into a new helper: skip_rename(). It needs unit tests of its own.

Byyyeeeeee!!!

0
16

Comments 0

No comments yet. Be the first!