File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ for (const bomSchemaFile of bomSchemas) {
7777 const strict = cdxVersion >= [ 1 , 5 ]
7878 ? true
7979 : 'log'
80- console . debug ( '> strict:' , strict )
80+ console . debug ( '> strict: ' , strict )
8181 const ajv = getAjv ( strict )
8282
8383 if ( cdxVersion [ 0 ] === 1 && cdxVersion [ 1 ] === 2 ) {
@@ -95,15 +95,17 @@ for (const bomSchemaFile of bomSchemas) {
9595 continue
9696 }
9797
98+ console . group ( `> compile schema, log warnings ...` )
9899 try {
99100 ajv . compile ( bomSchema )
100101 } catch ( err ) {
101102 ++ errCnt
103+ console . groupEnd ( )
102104 console . error ( `!!! SCHEMA ERROR: ${ err } ` )
103105 continue
104106 }
105-
106- console . log ( '> OK.' )
107+ console . groupEnd ( )
108+ console . log ( '> SCHEMA OK.' )
107109}
108110
109111// Exit statuses should be in the range 0 to 254.
You can’t perform that action at this time.
0 commit comments