ensure data capture is disabled in CI

This commit is contained in:
Alex Goodman 2019-02-23 12:29:45 -05:00
parent 993be8d3ae
commit 5ff66f2e26
No known key found for this signature in database
GPG Key ID: 743640FAA11698A1
2 changed files with 3 additions and 2 deletions

View File

@ -28,8 +28,9 @@ coverage: build
./.scripts/test.sh
validate:
@! gofmt -s -d -l . 2>&1 | grep -vE '^\.git/'
grep -R 'const allowTestDataCapture = false' ui/
go vet ./...
@! gofmt -s -d -l . 2>&1 | grep -vE '^\.git/'
lint: build
golint -set_exit_status $$(go list ./...)

View File

@ -13,7 +13,7 @@ import (
"testing"
)
const allowTestDataCapture = true
const allowTestDataCapture = false
func fileExists(filename string) bool {
info, err := os.Stat(filename)