Skip to content

Commit

Permalink
chore: fix missing \n at end of exported patches (electron#15579)
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon authored Nov 5, 2018
1 parent 77f69cb commit 2e1c50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/git-export-patches
Original file line number Diff line number Diff line change
Expand Up @@ -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')


Expand Down

0 comments on commit 2e1c50c

Please sign in to comment.