Skip to content

Commit

Permalink
hotfix for bundler #9024
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-sommer committed Nov 18, 2023
1 parent e488563 commit ebd991f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dojo/tools/bundler_audit/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def get_description_for_scan_types(self, scan_type):

def get_findings(self, filename, test):
lines = filename.read()
if isinstance(lines, bytes):
lines = lines.decode("utf-8")
dupes = dict()
find_date = datetime.now()
warnings = lines.split("\n\n")
Expand Down

0 comments on commit ebd991f

Please sign in to comment.