Skip to content

BUGFIX-11: Fix constructing connect command #23

BUGFIX-11: Fix constructing connect command

BUGFIX-11: Fix constructing connect command #23

Triggered via pull request November 25, 2023 22:27
Status Failure
Total duration 17s
Artifacts

lint.yml

on: pull_request
golangci-lint
6s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
golangci-lint: internal/logger/logger.go#L70
Error return value of `l.logFile.Close` is not checked (errcheck)
golangci-lint: internal/utils/utils_test.go#L24
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci-lint: internal/utils/utils_test.go#L32
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci-lint: internal/utils/utils_test.go#L37
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci-lint: internal/utils/utils_test.go#L54
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci-lint: internal/version/version.go#L26
Comment should end in a period (godot)
golangci-lint: internal/version/version.go#L41
Comment should end in a period (godot)
golangci-lint: internal/version/version.go#L46
Comment should end in a period (godot)
golangci-lint: internal/version/version.go#L51
Comment should end in a period (godot)
golangci-lint: internal/logger/logger.go#L10
Comment should end in a period (godot)
golangci-lint: internal/model/host.go#L3
exported: exported function NewHost should have comment or be unexported (revive)
golangci-lint: internal/model/host.go#L15
exported: exported type Host should have comment or be unexported (revive)
golangci-lint: internal/model/host.go#L25
exported: exported method Host.Clone should have comment or be unexported (revive)
golangci-lint: internal/model/host.go#L1
package-comments: should have a package comment (revive)
golangci-lint: internal/constant/constant.go#L6
exported: exported var ErrNotFound should have comment or be unexported (revive)
golangci-lint: internal/constant/constant.go#L15
exported: exported const ProtocolSSH should have comment or be unexported (revive)
golangci-lint: internal/constant/constant.go#L1
package-comments: should have a package comment (revive)
golangci-lint: internal/version/version.go#L56
exported: exported function Print should have comment or be unexported (revive)
golangci-lint: internal/config/config.go#L1
package-comments: should have a package comment (revive)
golangci-lint: internal/config/config.go#L8
exported: exported type Logger should have comment or be unexported (revive)