Skip to content

Commit

Permalink
🎨 add ext filter
Browse files Browse the repository at this point in the history
Signed-off-by: cyw3 <2927096163@qq.com>
  • Loading branch information
cyw3 committed Aug 6, 2022
1 parent d88a8c0 commit 4940683
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def __scan(self):
with open(scan_files_env, "r") as rf:
scan_files = json.load(rf)
# print("[debug] files to scan: %s" % len(scan_files))

scan_files = [path for path in scan_files if path.endswith(".sql")]

issues = list()
for path in scan_files:
Expand Down

0 comments on commit 4940683

Please sign in to comment.