Merge pull request #9 from tdunlap607/master

Update PATTERNS_PATH, resolves issue #8
This commit is contained in:
Alexandre Dulaunoy 2021-06-27 22:51:15 +02:00 committed by GitHub
commit 1a903da1e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ def tree():
return defaultdict(tree)
PATTERNS_PATH = "./git_vuln_finder/patterns"
PATTERNS_PATH = os.path.dirname(os.path.abspath(__file__)) + "/patterns"
def build_pattern(pattern_file):