remove -mod=vendor from command tests

This commit is contained in:
James Bardin 2020-09-23 17:56:19 -04:00
parent 50e547db4d
commit 2e5366ac69
1 changed files with 1 additions and 1 deletions

View File

@ -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()