From da8c1a1586880048f16624a885f5f76c7d0d87d4 Mon Sep 17 00:00:00 2001 From: ehennestad Date: Fri, 15 Nov 2024 10:56:19 +0100 Subject: [PATCH] Update translator.py --- pipeline/translator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/translator.py b/pipeline/translator.py index 6beabd1c..c503ae1f 100644 --- a/pipeline/translator.py +++ b/pipeline/translator.py @@ -385,7 +385,7 @@ def _property_name_sort_key(arg): return priorities.get(name, name) def _strip_trailing_whitespace(s): - return "\n".join([line.rstrip() for line in s.splitlines()]) + return "\n".join([line.rstrip() for line in s.splitlines()]) + "\n" # Also add single newline at the end def _is_datetime_format(property_info): return property_info.get("type") == 'string' \