Files downloaded by phrase pull
should end with newline
#130
Labels
enhancement
New feature or request
phrase pull
should end with newline
#130
Files should end with newline, otherwise there can be issues with version control, such as unexpected results of
diff
andblame
. When usingphrase pull
however, the file which is downloaded doesn't contain a final newline. If a code style tool like prettier is used, this causes a warning and can lead to additional work by the developer to either add a newline every time the file is downloaded, or exclude translation files from formatting.The proposed solution is to add a final newline to the downloaded files.
The text was updated successfully, but these errors were encountered: