mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
remove -mod=vendor from command tests
This commit is contained in:
parent
50e547db4d
commit
2e5366ac69
1 changed files with 1 additions and 1 deletions
|
|
@ -826,7 +826,7 @@ func testLockState(sourceDir, path string) (func(), error) {
|
|||
source := filepath.Join(sourceDir, "statelocker.go")
|
||||
lockBin := filepath.Join(buildDir, "statelocker")
|
||||
|
||||
cmd := exec.Command("go", "build", "-mod=vendor", "-o", lockBin, source)
|
||||
cmd := exec.Command("go", "build", "-o", lockBin, source)
|
||||
cmd.Dir = filepath.Dir(sourceDir)
|
||||
|
||||
out, err := cmd.CombinedOutput()
|
||||
|
|
|
|||
Loading…
Reference in a new issue