Skip to content

chore(deps): pin dependencies #400

chore(deps): pin dependencies

chore(deps): pin dependencies #400

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / golangci failed Sep 7, 2023 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (9)

internal/shell/os_context.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
version/version.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
internal/npm/config.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
cmd/vela-npm/main.go|251 col 2| if-return: redundant if ...; err != nil check, just return error instead. (revive)
internal/npm/plugin.go|65 col 2| if-return: redundant if ...; err != nil check, just return error instead. (revive)
internal/npm/plugin.go|130 col 2| if-return: redundant if ...; err != nil check, just return error instead. (revive)
internal/npm/plugin_test.go|114 col 26| directive // nolint: errcheck // testing should be written without leading space as //nolint: errcheck // testing (nolintlint)
internal/npm/plugin_test.go|146 col 26| directive // nolint: errcheck // testing should be written without leading space as //nolint: errcheck // testing (nolintlint)
internal/npm/plugin_test.go|179 col 26| directive // nolint: errcheck // testing should be written without leading space as //nolint: errcheck // testing (nolintlint)

Filtered Findings (0)

Annotations

Check failure on line 1 in internal/shell/os_context.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] internal/shell/os_context.go#L1

Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
internal/shell/os_context.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
                 ^

Check failure on line 1 in version/version.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] version/version.go#L1

Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
version/version.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
                 ^

Check failure on line 1 in internal/npm/config.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] internal/npm/config.go#L1

Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
internal/npm/config.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
                 ^

Check failure on line 251 in cmd/vela-npm/main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-npm/main.go#L251

if-return: redundant if ...; err != nil check, just return error instead. (revive)
Raw output
cmd/vela-npm/main.go:251:2: if-return: redundant if ...; err != nil check, just return error instead. (revive)
	if err := p.Exec(); err != nil {
		return err
	}

Check failure on line 65 in internal/npm/plugin.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] internal/npm/plugin.go#L65

if-return: redundant if ...; err != nil check, just return error instead. (revive)
Raw output
internal/npm/plugin.go:65:2: if-return: redundant if ...; err != nil check, just return error instead. (revive)
	if err := p.config.Validate(); err != nil {
		return err
	}

Check failure on line 130 in internal/npm/plugin.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] internal/npm/plugin.go#L130

if-return: redundant if ...; err != nil check, just return error instead. (revive)
Raw output
internal/npm/plugin.go:130:2: if-return: redundant if ...; err != nil check, just return error instead. (revive)
	if err := p.publish(); err != nil {
		return err
	}

Check failure on line 114 in internal/npm/plugin_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] internal/npm/plugin_test.go#L114

directive `// nolint: errcheck // testing` should be written without leading space as `//nolint: errcheck // testing` (nolintlint)
Raw output
internal/npm/plugin_test.go:114:26: directive `// nolint: errcheck // testing` should be written without leading space as `//nolint: errcheck // testing` (nolintlint)
	fs.MkdirAll(home, 0755) // nolint: errcheck // testing
	                        ^

Check failure on line 146 in internal/npm/plugin_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] internal/npm/plugin_test.go#L146

directive `// nolint: errcheck // testing` should be written without leading space as `//nolint: errcheck // testing` (nolintlint)
Raw output
internal/npm/plugin_test.go:146:26: directive `// nolint: errcheck // testing` should be written without leading space as `//nolint: errcheck // testing` (nolintlint)
	fs.MkdirAll(home, 0755) // nolint: errcheck // testing
	                        ^

Check failure on line 179 in internal/npm/plugin_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] internal/npm/plugin_test.go#L179

directive `// nolint: errcheck // testing` should be written without leading space as `//nolint: errcheck // testing` (nolintlint)
Raw output
internal/npm/plugin_test.go:179:26: directive `// nolint: errcheck // testing` should be written without leading space as `//nolint: errcheck // testing` (nolintlint)
	fs.MkdirAll(home, 0755) // nolint: errcheck // testing
	                        ^