mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-03 01:48:32 +02:00
Fix problem with Go snippet compilation (#2144)
* Fix problem with Go snippet compilation * Update automation/snippets/lib/languages/go.py Co-authored-by: xzfc <5121426+xzfc@users.noreply.github.com> --------- Co-authored-by: xzfc <5121426+xzfc@users.noreply.github.com>
This commit is contained in:
@@ -47,7 +47,11 @@ class LanguageGo(Language):
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
subprocess.run(["go", "build", "-o", "tester", "."], cwd=tmpdir, check=True)
|
subprocess.run(
|
||||||
|
["go", "build", "-buildvcs=false", "-o", "tester", "."],
|
||||||
|
cwd=tmpdir,
|
||||||
|
check=True,
|
||||||
|
)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user