mirror of
https://github.com/mandiant/capa.git
synced 2025-12-23 15:37:37 -08:00
render: fix handling of file-scope rules
This commit is contained in:
@@ -174,7 +174,6 @@ def render_vverbose(doc):
|
||||
|
||||
ostream.writeln(tabulate.tabulate(rows, tablefmt='plain'))
|
||||
|
||||
|
||||
if rule['meta']['scope'] == capa.rules.FILE_SCOPE:
|
||||
matches = list(doc[rule['meta']['name']]['matches'].values())
|
||||
if len(matches) != 1:
|
||||
|
||||
Reference in New Issue
Block a user