fix(plugin-commands-patching): leave final newline in patch files#6905
fix(plugin-commands-patching): leave final newline in patch files#6905
Conversation
The safe-execa library strips the final newline from the command output by default. Here it should be left in. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
💖 Thanks for opening this pull request! 💖 |
|
What issue is the removed newline is causing? |
|
@andersk could you answer? |
|
Patch files, like all text files, should always end with a trailing newline. Patch files generated by |
|
Congrats on merging your first pull request! 🎉🎉🎉 |
The
safe-execalibrary strips the final newline from the command output by default. Here it should be left in.