1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 00:18:01 +00:00

refactor ignore and debug logs

This commit is contained in:
deadc0de6
2021-10-11 16:44:59 +02:00
parent 6f19d7ef7b
commit e90f406ed2
4 changed files with 30 additions and 10 deletions

View File

@@ -139,7 +139,9 @@ def _dotfile_compare(opts, dotfile, tmp):
ignores = patch_ignores(ignores, dotfile.dst, debug=opts.debug)
insttmp = None
if dotfile.template and Templategen.is_template(src, ignore=ignores):
if dotfile.template and Templategen.is_template(src,
ignore=ignores,
debug=opts.debug):
# install dotfile to temporary dir for compare
ret, err, insttmp = inst.install_to_temp(templ, tmp, src, dotfile.dst,
is_template=True,