Skip to content

Commit 1f499a7

Browse files
committed
Add newline to end of generated file
1 parent 012731c commit 1f499a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ def init_env_from_args(args: Options, native_optimizations: bool = False) -> Non
843843
def build_ref_map() -> str:
844844
m = runpy.run_path('docs/extract-rst-targets.py')
845845
d = m['main']()
846-
h = 'static const char docs_ref_map[] = {\n' + textwrap.fill(', '.join(map(str, bytearray(json.dumps(d).encode('utf-8'))))) + '\n};'
846+
h = 'static const char docs_ref_map[] = {\n' + textwrap.fill(', '.join(map(str, bytearray(json.dumps(d).encode('utf-8'))))) + '\n};\n'
847847
dest = 'kitty/docs_ref_map_generated.h'
848848
q = ''
849849
with suppress(FileNotFoundError), open(dest) as f:

0 commit comments

Comments
 (0)