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:
parent
05dc76f3b2
commit
e56ea435f0
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue