Skip to content

Commit

Permalink
fix: map indent space
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed Jan 20, 2024
1 parent 86d5d0e commit f6bc46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sigmac/logsource_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def dump_yml(self, base_dir: str, out_dir: str) -> list[tuple[str, str]]:
with StringIO() as bs:
yaml = ruamel.yaml.YAML()
yaml.width = 4096
yaml.indent(mapping=2, sequence=4, offset=4)
yaml.indent(mapping=4, sequence=4, offset=4)
yaml.dump(obj, bs)
res.append((output_path, bs.getvalue()))
return res
Expand Down

0 comments on commit f6bc46e

Please sign in to comment.