Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Commit ba7af94

Browse files
committed
fix no step when analyzed-paths validation failed
1 parent 6131d7f commit ba7af94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/worker/analyze/linters/golinters/golangci_lint.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func (g GolangciLint) Run(ctx context.Context, sg *logresult.StepGroup, exec exe
3333

3434
analyzedPaths, err := buildConfig.GetValidatedAnalyzedPaths()
3535
if err != nil {
36+
sg.AddStepCmd("GOLANGCI_COM_RUN=1 golangci-lint", "run")
3637
return nil, errors.Wrap(err, "failed to build paths for analysis")
3738
}
3839

0 commit comments

Comments
 (0)