diff --git a/hooks/pre-commit b/hooks/pre-commit index d9ffbfba547342ab3cdff43332acd6b68ef5cbad..099704410e1f46c50e25e908669f19d3e155788a 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -4,6 +4,6 @@ set -eu golint src/... go fmt ./src/... -go tool vet --shadow ./src +go tool vet --all --shadow ./src gocyclo -over 12 src/ gb test diff --git a/src/github.com/matrix-org/dendrite/cmd/syncserver-integration-tests/main.go b/src/github.com/matrix-org/dendrite/cmd/syncserver-integration-tests/main.go index 80aaf242797274ef216f6f370aeda1c064259174..b9c9caf1aa836d0f89823903ad890bfbc48c5a7d 100644 --- a/src/github.com/matrix-org/dendrite/cmd/syncserver-integration-tests/main.go +++ b/src/github.com/matrix-org/dendrite/cmd/syncserver-integration-tests/main.go @@ -286,7 +286,7 @@ func testSyncServer(syncServerCmdChan chan error, userID, since, want string) { if err != nil { fmt.Println("=============================================================================================") fmt.Println("sync server failed to run. If failing with 'pq: password authentication failed for user' try:") - fmt.Println(" export PGHOST=/var/run/postgresql\n") + fmt.Println(" export PGHOST=/var/run/postgresql") fmt.Println("=============================================================================================") panic(err) }