File tree 2 files changed +4
-2
lines changed
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) {
44
44
45
45
programmersTxt , programmersTxtLoadError = programmerstxt .Properties (ProjectPath ())
46
46
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 )
48
48
programmersTxtSchemaValidationResult = nil
49
49
} else {
50
50
programmersTxtSchemaValidationResult = programmerstxt .Validate (programmersTxt )
@@ -56,7 +56,7 @@ func InitializeForPlatform(project project.Type) {
56
56
57
57
platformTxt , platformTxtLoadError = platformtxt .Properties (ProjectPath ())
58
58
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 )
60
60
platformTxtSchemaValidationResult = nil
61
61
platformTxtToolNames = nil
62
62
} else {
Original file line number Diff line number Diff line change @@ -25,12 +25,14 @@ import (
25
25
"github.com/arduino/arduino-lint/internal/project/projecttype"
26
26
"github.com/arduino/arduino-lint/internal/rule/ruleresult"
27
27
"github.com/arduino/go-paths-helper"
28
+ "github.com/sirupsen/logrus"
28
29
"github.com/stretchr/testify/assert"
29
30
)
30
31
31
32
var platformTestDataPath * paths.Path
32
33
33
34
func init () {
35
+ logrus .SetLevel (logrus .FatalLevel )
34
36
workingDirectory , err := paths .Getwd ()
35
37
if err != nil {
36
38
panic (err )
You can’t perform that action at this time.
0 commit comments