Skip to content

Fix Configurer.CommandExist for sudo without -s (#219) #617

Fix Configurer.CommandExist for sudo without -s (#219)

Fix Configurer.CommandExist for sudo without -s (#219) #617

Triggered via push August 7, 2024 10:56
Status Failure
Total duration 42s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Lint: resolver.go#L124
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
Lint: connection.go#L386
File is not `gofumpt`-ed (gofumpt)
Lint: connection.go#L385
unnecessary leading newline (whitespace)
Lint: exec/exec.go#L135
Magic number: 256, in <condition> detected (mnd)
Lint: os/linux.go#L429
Magic number: 4, in <argument> detected (mnd)
Lint: os/linux.go#L430
Magic number: 4, in <condition> detected (mnd)
Lint: pkg/rigfs/posixfsys.go#L320
Magic number: 0o777, in <argument> detected (mnd)
Lint: pkg/rigfs/posixfsys.go#L338
Magic number: 4, in <argument> detected (mnd)
Lint: pkg/rigfs/posixfsys.go#L367
Magic number: 2, in <argument> detected (mnd)
Lint: pkg/rigfs/posixfsys.go#L303
Magic number: 0o040000, in <case> detected (mnd)
Lint: resolver.go#L15
exported: exported type ResolveFunc should have comment or be unexported (revive)
Lint: resolver.go#L118
exported: exported function ParseOSReleaseFile should have comment or be unexported (revive)