1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Skip dependency check for deleted files. (#26112)

This commit is contained in:
Matt Clay 2017-06-26 11:48:46 -07:00 committed by GitHub
parent 05dc76f3b2
commit e56ea435f0

View file

@ -43,6 +43,9 @@ def categorize_changes(paths, verbose_command=None):
additional_paths = set() additional_paths = set()
for path in paths: for path in paths:
if not os.path.exists(path):
continue
dependent_paths = mapper.get_dependent_paths(path) dependent_paths = mapper.get_dependent_paths(path)
if not dependent_paths: if not dependent_paths: