@@ -56,10 +56,9 @@ type projectReportType struct {
5656}
5757
5858type projectConfigurationReportType struct {
59- Compliance string `json:"compliance"`
60- LibraryManagerSubmit bool `json:"libraryManagerSubmit"`
61- LibraryManagerUpdate bool `json:"libraryManagerUpdate"`
62- Official bool `json:"official"`
59+ Compliance string `json:"compliance"`
60+ LibraryManager string `json:"libraryManager"`
61+ Official bool `json:"official"`
6362}
6463
6564type checkReportType struct {
@@ -121,10 +120,9 @@ func (results *Type) Record(checkedProject project.Type, checkConfiguration chec
121120 Path : checkedProject .Path ,
122121 ProjectType : checkedProject .ProjectType .String (),
123122 Configuration : projectConfigurationReportType {
124- Compliance : checkmode .Compliance (configuration .CheckModes (checkedProject .ProjectType )),
125- LibraryManagerSubmit : configuration .CheckModes (checkedProject .ProjectType )[checkmode .LibraryManagerSubmission ],
126- LibraryManagerUpdate : configuration .CheckModes (checkedProject .ProjectType )[checkmode .LibraryManagerIndexed ],
127- Official : configuration .CheckModes (checkedProject .ProjectType )[checkmode .Official ],
123+ Compliance : checkmode .Compliance (configuration .CheckModes (checkedProject .ProjectType )),
124+ LibraryManager : checkmode .LibraryManager (configuration .CheckModes (checkedProject .ProjectType )),
125+ Official : configuration .CheckModes (checkedProject .ProjectType )[checkmode .Official ],
128126 },
129127 Checks : []checkReportType {},
130128 },
0 commit comments