Update PATTERNS_PATH, resolves issue #8

This commit is contained in:
tdunlap607 2021-06-04 14:00:55 -04:00
parent 1dccc4b0dd
commit fadcedd7e7

View file

@ -22,7 +22,7 @@ def tree():
return defaultdict(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): def build_pattern(pattern_file):