Bug 1754916 - Do not add extra newline to moz.yaml files when vendoring r=tjr

Differential Revision: https://phabricator.services.mozilla.com/D138515
This commit is contained in:
Barret Rennie 2022-02-11 16:23:08 +00:00
parent 989f5c9cfd
commit d15e6e9f9a

View File

@ -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):