File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ func InitializeForPlatform(project project.Type) {
4444
4545 programmersTxt , programmersTxtLoadError = programmerstxt .Properties (ProjectPath ())
4646 if programmersTxtLoadError != nil {
47- logrus .Errorf ("Error loading programmers.txt from %s: %s" , project .Path , programmersTxtLoadError )
47+ logrus .Tracef ("Error loading programmers.txt from %s: %s" , project .Path , programmersTxtLoadError )
4848 programmersTxtSchemaValidationResult = nil
4949 } else {
5050 programmersTxtSchemaValidationResult = programmerstxt .Validate (programmersTxt )
@@ -56,7 +56,7 @@ func InitializeForPlatform(project project.Type) {
5656
5757 platformTxt , platformTxtLoadError = platformtxt .Properties (ProjectPath ())
5858 if platformTxtLoadError != nil {
59- logrus .Errorf ("Error loading platform.txt from %s: %s" , project .Path , platformTxtLoadError )
59+ logrus .Tracef ("Error loading platform.txt from %s: %s" , project .Path , platformTxtLoadError )
6060 platformTxtSchemaValidationResult = nil
6161 platformTxtToolNames = nil
6262 } else {
Original file line number Diff line number Diff line change @@ -25,12 +25,14 @@ import (
2525 "github.com/arduino/arduino-lint/internal/project/projecttype"
2626 "github.com/arduino/arduino-lint/internal/rule/ruleresult"
2727 "github.com/arduino/go-paths-helper"
28+ "github.com/sirupsen/logrus"
2829 "github.com/stretchr/testify/assert"
2930)
3031
3132var platformTestDataPath * paths.Path
3233
3334func init () {
35+ logrus .SetLevel (logrus .FatalLevel )
3436 workingDirectory , err := paths .Getwd ()
3537 if err != nil {
3638 panic (err )
You can’t perform that action at this time.
0 commit comments