feat: support changing $0 by symlink #6184
Annotations
6 errors
Run golangci-lint run --timeout 120s:
pkg/installpackage/check_file.go#L98
calculated cyclomatic complexity for function checkFileSrc is 11, max is 10 (cyclop)
|
Run golangci-lint run --timeout 120s:
pkg/controller/which/which.go#L70
error returned from external package is unwrapped: sig: func (*github.com/aquaproj/aqua/v2/pkg/config.Package).ExePath(rootDir string, file *github.com/aquaproj/aqua/v2/pkg/config/registry.File, rt *github.com/aquaproj/aqua/v2/pkg/runtime.Runtime) (string, error) (wrapcheck)
|
Run golangci-lint run --timeout 120s:
pkg/controller/which/which.go#L73
error returned from external package is unwrapped: sig: func (*github.com/aquaproj/aqua/v2/pkg/config.Package).ExePath(rootDir string, file *github.com/aquaproj/aqua/v2/pkg/config/registry.File, rt *github.com/aquaproj/aqua/v2/pkg/runtime.Runtime) (string, error) (wrapcheck)
|
Run golangci-lint run --timeout 120s:
pkg/installpackage/check_file.go#L140
error returned from external package is unwrapped: sig: func path/filepath.Rel(basepath string, targpath string) (string, error) (wrapcheck)
|
Run golangci-lint run --timeout 120s:
pkg/controller/which/which.go#L68
directive `//nolint:wrapcheck` is unused for linter "wrapcheck" (nolintlint)
|
Run golangci-lint run --timeout 120s
Process completed with exit code 1.
|
Loading