Skip to content

JS: variable usage, indexing and dot expressions have side-effects, f… #654

JS: variable usage, indexing and dot expressions have side-effects, f…

JS: variable usage, indexing and dot expressions have side-effects, f… #654

Triggered via push July 10, 2024 10:25
Status Success
Total duration 38s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: minify.go#L94
Error return value of `io.Copy` is not checked (errcheck)
lint: common_test.go#L364
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
lint: common_test.go#L366
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
lint: common_test.go#L368
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
lint: minify_test.go#L26
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
lint: minify_test.go#L23
`helperCommand` - `t` is unused (unparam)
lint: common.go#L7
import 'github.com/tdewolff/parse/v2' is not allowed from list 'Main' (depguard)
lint: common.go#L8
import 'github.com/tdewolff/parse/v2/strconv' is not allowed from list 'Main' (depguard)
lint: minify.go#L21
import 'github.com/tdewolff/parse/v2' is not allowed from list 'Main' (depguard)
lint: minify.go#L22
import 'github.com/tdewolff/parse/v2/buffer' is not allowed from list 'Main' (depguard)