@@ -10,7 +10,6 @@ import (
10
10
"time"
11
11
12
12
"github.com/golangci/golangci-lint/pkg/lint/linter"
13
- "github.com/golangci/golangci-lint/pkg/logutils"
14
13
"github.com/golangci/golangci-lint/pkg/result"
15
14
"github.com/golangci/golangci-lint/pkg/result/processors"
16
15
"github.com/golangci/golangci-lint/pkg/timeutils"
@@ -31,7 +30,7 @@ func runLinterSafe(ctx context.Context, lintCtx *linter.Context, lc linter.Confi
31
30
defer func () {
32
31
if panicData := recover (); panicData != nil {
33
32
err = fmt .Errorf ("panic occured: %s" , panicData )
34
- logutils . HiddenWarnf ("Panic stack trace: %s" , debug .Stack ())
33
+ logrus . Warnf ("Panic stack trace: %s" , debug .Stack ())
35
34
}
36
35
}()
37
36
@@ -152,7 +151,7 @@ func (r SimpleRunner) processLintResults(ctx context.Context, inCh <-chan lintRe
152
151
153
152
for res := range inCh {
154
153
if res .err != nil {
155
- logutils . HiddenWarnf ("Can't run linter %s: %s" , res .linter .Linter .Name (), res .err )
154
+ logrus . Warnf ("Can't run linter %s: %s" , res .linter .Linter .Name (), res .err )
156
155
continue
157
156
}
158
157
@@ -221,7 +220,7 @@ func (r *SimpleRunner) processIssues(ctx context.Context, issues []result.Issue,
221
220
})
222
221
223
222
if err != nil {
224
- logutils . HiddenWarnf ("Can't process result by %s processor: %s" , p .Name (), err )
223
+ logrus . Warnf ("Can't process result by %s processor: %s" , p .Name (), err )
225
224
} else {
226
225
issues = newIssues
227
226
}
0 commit comments