mirror of
https://github.com/adulau/git-vuln-finder.git
synced 2024-11-22 10:07:11 +00:00
chg: [patterns] return all the groups matches and non-matches
This commit is contained in:
parent
584670daf7
commit
615027bba2
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def find_vuln(commit, pattern=vulnpatterns):
|
||||||
print("---", file=sys.stderr)
|
print("---", file=sys.stderr)
|
||||||
ret = {}
|
ret = {}
|
||||||
ret['commit'] = commit
|
ret['commit'] = commit
|
||||||
ret['match'] = m.group(1)
|
ret['match'] = m.groups()
|
||||||
return ret
|
return ret
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in a new issue