From 77e9a40bb40b99b1074e7dff553633e9231c2123 Mon Sep 17 00:00:00 2001 From: Daniel Sage <24928223+dnsge@users.noreply.github.com> Date: Sun, 22 May 2022 16:59:05 -0400 Subject: [PATCH] Automatically place newlines at end of generated files (#3751) Co-authored-by: Kasia --- resources/_generate_resources.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/_generate_resources.py b/resources/_generate_resources.py index 602306dfb..7f1ee7a53 100644 --- a/resources/_generate_resources.py +++ b/resources/_generate_resources.py @@ -4,7 +4,7 @@ resources_header = \ resources_footer = \ ''' -''' +\n''' header_header = \ '''#include @@ -22,7 +22,7 @@ public: header_footer = \ '''}; -} // namespace chatterino''' +} // namespace chatterino\n''' source_header = \ '''#include "ResourcesAutogen.hpp" @@ -36,4 +36,4 @@ Resources2::Resources2() source_footer = \ '''} -} // namespace chatterino''' +} // namespace chatterino\n'''