Go: Replace go work vendor with go mod vendor

This commit is contained in:
Michael B. Gale
2024-06-12 15:19:14 +01:00
parent a04f08f026
commit a90968d277

View File

@@ -48,7 +48,7 @@ if opts.force:
existing_build_files = set(go_extractor_dir.glob("*/**/BUILD.bazel"))
print("updating vendor directory")
subprocess.check_call([go, "-C", go_extractor_dir, "work", "vendor"])
subprocess.check_call([go, "-C", go_extractor_dir, "mod", "vendor"])
if opts.force:
print("clearing generated BUILD files")