Skip to content

Commit

Permalink
Avoid print()
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham authored Feb 28, 2021
1 parent 687b2d8 commit 6b091f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libsast/core_matcher/choice_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def choice_matcher(self, scan_paths, rule):
continue
if sfile.stat().st_size / 1000 / 1000 > 25:
# Skip scanning files greater than 25 MB
print(f'Skipping large file {sfile.as_posix()}')
continue
data = sfile.read_text('utf-8', 'ignore')
if ext in ('.html', '.xml'):
Expand Down

0 comments on commit 6b091f6

Please sign in to comment.