Refactor cmd/rigtest into a real test suite in test/rig_test.go and fix found bugs #252
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
9 errors
Lint:
pkg/rigfs/direntrybuffer.go#L1
: # github.com/k0sproject/rig/pkg/rigfs
|
Lint:
pkg/rigfs/winfile.go#L6
"encoding/hex" imported and not used (typecheck)
|
Lint:
connection.go#L19
could not import github.com/k0sproject/rig/pkg/rigfs (-: # github.com/k0sproject/rig/pkg/rigfs
|
Lint:
pkg/rigfs/winfile.go#L6
"encoding/hex" imported and not used) (typecheck)
|
Lint:
exec/exec.go#L100
`if o.LogCommand` has complex nested blocks (complexity: 7) (nestif)
|
Lint:
os/windows.go#L106
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"empty content for writing to %s\", path)" (goerr113)
|
Lint:
os/windows.go#L110
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"empty path for file writing %s\", path)" (goerr113)
|
Lint:
os/windows.go#L210
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"service scripts not supported on windows\")" (goerr113)
|
Lint
issues found
|