Skip to content

Commit

Permalink
Merge 6bfcce2 into 62f4ec3
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverxchen committed May 16, 2022
2 parents 62f4ec3 + 6bfcce2 commit 72b14dd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sqlean/sql_styler.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ def _get_separator_by_idx(self, idx: int, is_inline: bool) -> str:
if idx < self.last_item_idx:
this_separator = self.separator
else:
if self.has_ending_separator:
this_separator = self.separator
else:
this_separator = ""
# if self.has_ending_separator:
this_separator = self.separator
# currently, has_ending_separator is always True
# else:
# this_separator = ""
elif idx < self.num_children:
this_separator = ""
if is_inline:
Expand Down

0 comments on commit 72b14dd

Please sign in to comment.