From 2e51612d9e646227164235b31d4e2f8a38670ece Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Wed, 21 Sep 2022 06:31:49 -0400 Subject: [PATCH] Port change from safety vendoring PR to make the vendor renames work the same as patch. --- tasks/vendoring/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/vendoring/__init__.py b/tasks/vendoring/__init__.py index ceda6f51..3f1d2199 100644 --- a/tasks/vendoring/__init__.py +++ b/tasks/vendoring/__init__.py @@ -741,7 +741,7 @@ def main(ctx, package=None, type=None): if package_dir == patched_dir: vendor(ctx, patched_dir, rewrite=True) else: - vendor(ctx, package_dir) + vendor(ctx, package_dir, rewrite=True) req_txt = "vendor.txt" if package_dir == vendor_dir else "patched.txt" download_licenses(ctx, package_dir, req_txt) if package_dir == patched_dir: