mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
remove -mod=vendor from command tests
This commit is contained in:
parent
50e547db4d
commit
2e5366ac69
@ -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 New Issue
Block a user