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")
|
source := filepath.Join(sourceDir, "statelocker.go")
|
||||||
lockBin := filepath.Join(buildDir, "statelocker")
|
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)
|
cmd.Dir = filepath.Dir(sourceDir)
|
||||||
|
|
||||||
out, err := cmd.CombinedOutput()
|
out, err := cmd.CombinedOutput()
|
||||||
|
|
Loading…
Reference in New Issue