Skip to content

Fix httpFileLoader to only return an error when a problem has occurred #323

Fix httpFileLoader to only return an error when a problem has occurred

Fix httpFileLoader to only return an error when a problem has occurred #323

Triggered via pull request April 8, 2024 15:10
@ptzianosptzianos
synchronize #127
Status Success
Total duration 1m 25s
Artifacts

lint.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Lint: components/producers/dependency-track/main.go#L74
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors
Lint: components/producers/typescript-npm-audit/types/npmquickaudit/npmquickaudit.go#L130
type switch on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/main.go#L29
type switch on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmfullaudit/npmfullaudit_test.go#L19
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmfullaudit/npmfullaudit_test.go#L32
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmquickaudit/npmquickaudit_test.go#L20
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmquickaudit/npmquickaudit_test.go#L33
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.