mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 19:12:01 -08:00
capafmt: order meta/features consistently
This commit is contained in:
@@ -547,6 +547,9 @@ class Rule(object):
|
||||
del m[k]
|
||||
m[k] = v
|
||||
|
||||
move_to_end(definition["rule"], "meta")
|
||||
move_to_end(definition["rule"], "features")
|
||||
|
||||
for key in COMMON_KEYS:
|
||||
if key in meta:
|
||||
move_to_end(meta, key)
|
||||
|
||||
Reference in New Issue
Block a user