From 2e5366ac692de22b9e5ba64baee70b286a46696c Mon Sep 17 00:00:00 2001 From: James Bardin Date: Wed, 23 Sep 2020 17:56:19 -0400 Subject: [PATCH] remove -mod=vendor from command tests --- command/command_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/command_test.go b/command/command_test.go index 450a36a07..f6f3b6f89 100644 --- a/command/command_test.go +++ b/command/command_test.go @@ -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()