nickjj/ansigenome

errors when handling missing meta/main.yml

rl201 opened this issue · 4 comments

rl201 commented

roles without meta/main.yml files seem to produce spurious dependencies. I think this is due to a mistake in scan.py around line 202:

rl201 commented

if not os.path.exists(self.paths["meta"]):
return ""
should perhaps be
if not os.path.exists(self.paths["meta"]):
self.dependencies=[]
return ""

Are you saying it's reporting dependencies for the wrong role (the last role with a meta/main.yml) as is?

rl201 commented

I'd happily accept a PR if you wanted to create one.