Skip to content

Commit

Permalink
Update translator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ehennestad committed Nov 15, 2024
1 parent 0b42509 commit da8c1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand Down

0 comments on commit da8c1a1

Please sign in to comment.