From d15e6e9f9a8152bbf60f17686772fa7aa6b2d4d7 Mon Sep 17 00:00:00 2001 From: Barret Rennie Date: Fri, 11 Feb 2022 16:23:08 +0000 Subject: [PATCH] Bug 1754916 - Do not add extra newline to moz.yaml files when vendoring r=tjr Differential Revision: https://phabricator.services.mozilla.com/D138515 --- python/mozbuild/mozbuild/vendor/vendor_manifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mozbuild/mozbuild/vendor/vendor_manifest.py b/python/mozbuild/mozbuild/vendor/vendor_manifest.py index 3fccbce86023..be2901fd7102 100644 --- a/python/mozbuild/mozbuild/vendor/vendor_manifest.py +++ b/python/mozbuild/mozbuild/vendor/vendor_manifest.py @@ -348,7 +348,7 @@ class VendorManifest(MozbuildObject): assert len(replacements) == replaced with open(yaml_file, "wb") as f: - f.write(("".join(yaml) + "\n").encode("utf-8")) + f.write(("".join(yaml)).encode("utf-8")) def update_files(self, revision, yaml_file): def get_full_path(path, support_cwd=False):