aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhooks/pre-commit2
-rw-r--r--src/github.com/matrix-org/dendrite/cmd/syncserver-integration-tests/main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/hooks/pre-commit b/hooks/pre-commit
index d9ffbfba..09970441 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 80aaf242..b9c9caf1 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)
}