Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
  • Loading branch information
arthurscchan committed Jan 15, 2024
1 parent aa1f4c7 commit 854e22b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/fuzz_introspector/analyses/sinks_analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class SinkCoverageAnalyser(analysis.AnalysisInterface):

def __init__(self) -> None:
self.json_string_result = ""
self.display_html = False
self.index = 0

@classmethod
Expand All @@ -81,7 +80,7 @@ def get_json_string_result(self):
by this analyser
:rtype: str
"""
return self.json_string_result
return f"[{self.json_string_result}]"

def set_json_string_result(self, json_string):
"""Store the result of this analyser as json string result
Expand Down

0 comments on commit 854e22b

Please sign in to comment.