From ca96a25a7a2f76f93e6f89284c941973aa4bd3fe Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Mon, 21 Aug 2023 16:26:20 -0700 Subject: [PATCH] InstCountCI: Add newline to end of file This way these endlines don't constantly keep getting toggled. --- Scripts/UpdateInstructionCountJson.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripts/UpdateInstructionCountJson.py b/Scripts/UpdateInstructionCountJson.py index 2a2197662..6842cac48 100755 --- a/Scripts/UpdateInstructionCountJson.py +++ b/Scripts/UpdateInstructionCountJson.py @@ -22,6 +22,7 @@ def update_performance_numbers(performance_json_path, performance_json, new_json # Output to the original file. with open(performance_json_path, "w") as json_file: json.dump(performance_json, json_file, indent=2) + json_file.write("\n") def main(): if sys.version_info[0] < 3: