Skip to content

Commit 938c5e6

Browse files
authored
Update cli.py
1 parent 1afe3c1 commit 938c5e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sqlparse/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def process_file(args, filename):
194194

195195
s = sqlparse.format(data, **formatter_opts).strip()
196196
stream.write(s)
197+
stream.write("\n") # Newline at end of file
197198
stream.flush()
198199
if close_stream:
199200
stream.close()

0 commit comments

Comments
 (0)