mirror of
https://github.com/mandiant/capa.git
synced 2026-07-02 11:00:02 -07:00
rule: fmt: add trailing newline to capa files
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ def main(argv=None):
|
||||
with open(args.path, 'wb') as f:
|
||||
f.write(rule.to_yaml().encode('utf-8'))
|
||||
else:
|
||||
print(rule.to_yaml())
|
||||
print(rule.to_yaml().rstrip("\n"))
|
||||
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user