Fix some low hanging differences when running make style on Windows vs Linux

This commit is contained in:
nvx 2024-01-26 20:08:36 +10:00
commit b4ae4c429f
3 changed files with 6 additions and 4 deletions

View file

@ -47,6 +47,7 @@ def main():
'commands': command_data,
}
json.dump(output_data, args.output_file, indent=4, sort_keys=True)
args.output_file.write("\n") # add trailing newline as json.dump does not
logging.info(f'{get_version()} completed!')

View file

@ -96,7 +96,8 @@ const static vocabulary_t vocabulary[] = {\n""")
}
#endif
#endif""")
#endif
""")
logging.info(f'{get_version()} completed!')