mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-11 00:45:36 +03:00
info to debug (#1416)
This commit is contained in:
parent
cf71c9539c
commit
70fa923907
@ -77,7 +77,7 @@ func Packaging(c *checker.CheckRequest) checker.CheckResult {
|
||||
return checker.CreateMaxScoreResult(CheckPackaging,
|
||||
"publishing workflow detected")
|
||||
}
|
||||
c.Dlogger.Info3(&checker.LogMessage{
|
||||
c.Dlogger.Debug3(&checker.LogMessage{
|
||||
Path: fp,
|
||||
Type: checker.FileTypeSource,
|
||||
Offset: checker.OffsetDefault,
|
||||
|
@ -45,8 +45,8 @@ var _ = Describe("E2E TEST:"+checks.CheckPackaging, func() {
|
||||
Error: nil,
|
||||
Score: checker.InconclusiveResultScore,
|
||||
NumberOfWarn: 1,
|
||||
NumberOfInfo: 2,
|
||||
NumberOfDebug: 2,
|
||||
NumberOfInfo: 1,
|
||||
NumberOfDebug: 3,
|
||||
}
|
||||
result := checks.Packaging(&req)
|
||||
Expect(scut.ValidateTestReturn(nil, "use packaging", &expected, &result, &dl)).Should(BeTrue())
|
||||
|
Loading…
Reference in New Issue
Block a user