mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 23:48:27 +00:00
hook: Make go vet run all tests and fix warnings
This commit is contained in:
parent
e4a97d13b3
commit
cf736d746d
2 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,6 @@ set -eu
|
||||||
|
|
||||||
golint src/...
|
golint src/...
|
||||||
go fmt ./src/...
|
go fmt ./src/...
|
||||||
go tool vet --shadow ./src
|
go tool vet --all --shadow ./src
|
||||||
gocyclo -over 12 src/
|
gocyclo -over 12 src/
|
||||||
gb test
|
gb test
|
||||||
|
|
|
@ -286,7 +286,7 @@ func testSyncServer(syncServerCmdChan chan error, userID, since, want string) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("=============================================================================================")
|
fmt.Println("=============================================================================================")
|
||||||
fmt.Println("sync server failed to run. If failing with 'pq: password authentication failed for user' try:")
|
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("=============================================================================================")
|
fmt.Println("=============================================================================================")
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue