Skip to content

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

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

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

Triggered via pull request April 8, 2024 15:09
@ptzianosptzianos
opened #127
Status Cancelled
Total duration 1m 0s
Artifacts

lint.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Lint
Canceling since a higher priority waiting request for 'Lint-127' exists
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
The operation was canceled.