test(tracking): isolate config tests from user home #37
ci.yml
on: push
test
1m 48s
darwin-cgo-build
56s
Annotations
10 errors
|
test:
internal/secrets/store_test.go#L43
shadow: declaration of "err" shadows declaration at line 36 (govet)
|
|
test:
internal/secrets/store_test.go#L40
shadow: declaration of "err" shadows declaration at line 36 (govet)
|
|
test:
internal/config/config_test.go#L57
shadow: declaration of "err" shadows declaration at line 46 (govet)
|
|
test:
internal/config/config_test.go#L50
shadow: declaration of "err" shadows declaration at line 46 (govet)
|
|
test:
internal/cmd/gmail_send.go#L125
shadow: declaration of "err" shadows declaration at line 36 (govet)
|
|
test:
internal/tracking/config.go#L33
G304: Potential file inclusion via variable (gosec)
|
|
test:
internal/cmd/gmail_track_opens.go#L46
G107: Potential HTTP request made with variable url (gosec)
|
|
test:
internal/cmd/gmail_send.go#L146
assignOp: replace `htmlBody = htmlBody + pixelHTML` with `htmlBody += pixelHTML` (gocritic)
|
|
test:
internal/tracking/pixel.go#L13
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"tracking not configured\")" (err113)
|
|
test:
internal/tracking/crypto.go#L76
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ciphertext too short\")" (err113)
|