1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 11:14:17 +00:00

remove ignore from templategen

This commit is contained in:
deadc0de6
2023-05-15 22:30:44 +02:00
committed by deadc0de
parent 29351a82b1
commit 83b7965207
3 changed files with 8 additions and 20 deletions

View File

@@ -169,9 +169,8 @@ class Updater:
return None
return tmp
def _is_template(self, path, ignores):
def _is_template(self, path):
if not Templategen.path_is_template(path,
ignore=ignores,
debug=self.debug):
self.log.dbg(f'{path} is NO template')
return False
@@ -222,7 +221,7 @@ class Updater:
self.log.sub(f'\"{local_path}\" ignored')
return True
self.log.dbg(f'update for file {deployed_path} and {local_path}')
if self._is_template(local_path, ignores):
if self._is_template(local_path):
# dotfile is a template
self.log.dbg(f'{local_path} is a template')
if self.showpatch: