-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(convert): factorize multiple logic tests
Nest and combine some logic tests by: 1. Only check for destination file existence once. 2. Use `original` instead of `item.path` in the `refresh` conditional such that this option will be compatible with `keep_new`.
- Loading branch information
Showing
1 changed file
with
14 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters