rule: fmt: add trailing newline to capa files

This commit is contained in:
William Ballenthin
2020-06-21 15:51:11 -06:00
parent b23ff0358b
commit b3ca9f0daf
2 changed files with 2 additions and 2 deletions

View File

@@ -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