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