mirror of
https://github.com/adulau/git-vuln-finder.git
synced 2024-12-22 08:45:58 +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)
|
||||
ret = {}
|
||||
ret['commit'] = commit
|
||||
ret['match'] = m.group(1)
|
||||
ret['match'] = m.groups()
|
||||
return ret
|
||||
else:
|
||||
return None
|
||||
|
|
Loading…
Reference in a new issue