chore: fix missing \n at end of exported patches (#15579)
This commit is contained in:
parent
77f69cbe08
commit
2e1c50c891
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def main(argv):
|
|||
for patch in patches:
|
||||
filename = get_file_name(patch)
|
||||
with open(os.path.join(out_dir, filename), 'w') as f:
|
||||
f.write('\n'.join(remove_patch_filename(patch)))
|
||||
f.write('\n'.join(remove_patch_filename(patch)).rstrip('\n') + '\n')
|
||||
pl.write(filename + '\n')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue