Skip to content

Commit ba98bcb

Browse files
committed
Only print skipped check informtation to log
This information is not normally of interest.
1 parent 44e19ee commit ba98bcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

check/check.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import (
1616
"github.com/arduino/arduino-check/project"
1717
"github.com/arduino/arduino-cli/cli/errorcodes"
1818
"github.com/arduino/arduino-cli/cli/feedback"
19+
"github.com/sirupsen/logrus"
1920
)
2021

2122
// RunChecks runs all checks for the given project and outputs the results.
@@ -32,8 +33,7 @@ func RunChecks(project project.Type) {
3233
}
3334

3435
if !runCheck {
35-
// TODO: this should only be printed to log and in verbose mode
36-
fmt.Printf("Skipping check: %s\n", checkConfiguration.ID)
36+
logrus.Infof("Skipping check: %s\n", checkConfiguration.ID)
3737
continue
3838
}
3939

0 commit comments

Comments
 (0)