Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit d860ea1

Browse files
committed
Update makefile and golangci config
1 parent 107ada7 commit d860ea1

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ linters:
88
enable-all: true
99
disable:
1010
- funlen
11-
- wsl
1211
- gomnd
12+
- testpackage

error.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ func (w *withMessage) Format(s fmt.State, verb rune) {
3434
if s.Flag('+') {
3535
fmt.Fprintf(s, "%+v\n", w.error)
3636
io.WriteString(s, w.msg)
37+
3738
return
3839
}
40+
3941
fallthrough
4042
case 's', 'q':
4143
io.WriteString(s, w.Error())

main.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ TEST_FORMAT = short-verbose
1616
endif
1717

1818
# Dependency versions
19-
GOTESTSUM_VERSION ?= 0.4.1
20-
GOLANGCI_VERSION ?= 1.24.0
19+
GOTESTSUM_VERSION ?= 0.4.2
20+
GOLANGCI_VERSION ?= 1.25.1
2121

2222
.PHONY: clear
2323
clear: ## Clear the working area and the project

0 commit comments

Comments
 (0)