@@ -787,7 +787,7 @@ func LibraryPropertiesEmailFieldStartsWithArduino() (result checkresult.Type, ou
787
787
}
788
788
789
789
if checkdata .LibraryProperties ().ContainsKey ("maintainer" ) {
790
- return checkresult .NotRun , "Field not present "
790
+ return checkresult .Skip , "No email alias field "
791
791
}
792
792
793
793
email , ok := checkdata .LibraryProperties ().GetOk ("email" )
@@ -890,7 +890,7 @@ func LibraryPropertiesCategoryFieldMissing() (result checkresult.Type, output st
890
890
return checkresult .Skip , "Library has legacy format"
891
891
}
892
892
893
- if schema .RequiredPropertyMissing ("category" , checkdata .LibraryPropertiesSchemaValidationResult ()[compliancelevel .Specification ]) {
893
+ if schema .RequiredPropertyMissing ("category" , checkdata .LibraryPropertiesSchemaValidationResult ()[compliancelevel .Strict ]) {
894
894
return checkresult .Fail , ""
895
895
}
896
896
return checkresult .Pass , ""
@@ -1000,7 +1000,7 @@ func LibraryPropertiesArchitecturesFieldMissing() (result checkresult.Type, outp
1000
1000
return checkresult .Skip , "Library has legacy format"
1001
1001
}
1002
1002
1003
- if schema .RequiredPropertyMissing ("architectures" , checkdata .LibraryPropertiesSchemaValidationResult ()[compliancelevel .Specification ]) {
1003
+ if schema .RequiredPropertyMissing ("architectures" , checkdata .LibraryPropertiesSchemaValidationResult ()[compliancelevel .Strict ]) {
1004
1004
return checkresult .Fail , ""
1005
1005
}
1006
1006
return checkresult .Pass , ""
@@ -1341,7 +1341,7 @@ func LibraryPropertiesMisspelledOptionalField() (result checkresult.Type, output
1341
1341
return checkresult .NotRun , "Library not loaded"
1342
1342
}
1343
1343
1344
- if schema .MisspelledOptionalPropertyFound (checkdata .LibraryPropertiesSchemaValidationResult ()[compliancelevel .Specification ]) {
1344
+ if schema .MisspelledOptionalPropertyFound (checkdata .LibraryPropertiesSchemaValidationResult ()[compliancelevel .Strict ]) {
1345
1345
return checkresult .Fail , ""
1346
1346
}
1347
1347
0 commit comments