Skip to content

Fix Go linting by removing deactivated linters #2460

Fix Go linting by removing deactivated linters

Fix Go linting by removing deactivated linters #2460

GitHub Actions / golangci failed Jun 2, 2024 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (3)

internal/github/action.go|33 col 14| Error return value of fmt.Fprintln is not checked (errcheck)
internal/github/action.go|49 col 15| Error return value of fmt.Fprintln is not checked (errcheck)
internal/github/action.go|66 col 14| Error return value of fmt.Fprintln is not checked (errcheck)

Filtered Findings (0)

Annotations

Check failure on line 33 in internal/github/action.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] internal/github/action.go#L33

Error return value of `fmt.Fprintln` is not checked (errcheck)
Raw output
internal/github/action.go:33:14: Error return value of `fmt.Fprintln` is not checked (errcheck)
	fmt.Fprintln(a.Stdout, "Checking GitHub labels ...")
	            ^

Check failure on line 49 in internal/github/action.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] internal/github/action.go#L49

Error return value of `fmt.Fprintln` is not checked (errcheck)
Raw output
internal/github/action.go:49:15: Error return value of `fmt.Fprintln` is not checked (errcheck)
		fmt.Fprintln(a.Stdout, a.trimTrailingNewLine(a.successMsg))
		            ^

Check failure on line 66 in internal/github/action.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] internal/github/action.go#L66

Error return value of `fmt.Fprintln` is not checked (errcheck)
Raw output
internal/github/action.go:66:14: Error return value of `fmt.Fprintln` is not checked (errcheck)
	fmt.Fprintln(a.Stderr, "::error::", err)
	            ^