From fadcedd7e77f31e8c64eba054e7d4b4af7e218ba Mon Sep 17 00:00:00 2001 From: tdunlap607 Date: Fri, 4 Jun 2021 14:00:55 -0400 Subject: [PATCH] Update PATTERNS_PATH, resolves issue #8 --- git_vuln_finder/pattern.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_vuln_finder/pattern.py b/git_vuln_finder/pattern.py index 2d64d3c..a8df7a3 100644 --- a/git_vuln_finder/pattern.py +++ b/git_vuln_finder/pattern.py @@ -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):