File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,4 +39,4 @@ indent_size = 2
3939# ## Specific files
4040[{package,bower,lerna}.json ]
4141indent_style = space
42- indent_size = 2
42+ indent_size = 2
Original file line number Diff line number Diff line change @@ -50,12 +50,12 @@ export default function rollupPluginSbom(userOptions?: RollupPluginSbomOptions):
5050 new CDX . Serialize . XML . Normalize . Factory ( CDX . Spec . SpecVersionDict [ options . specVersion ] ! ) ,
5151 ) ;
5252
53- function processExternalModuleForBom ( context : PluginContext , mod : ExternalModuleInfo | null ) {
53+ function processExternalModuleForBom ( context : PluginContext , mod : ExternalModuleInfo ) {
5454 const dependencyInfo = dependencyInfoRegistry . get ( mod . modulePath ) ;
5555 if ( ! dependencyInfo ) {
5656 const logFn = mod . isTransitive ? context . debug : context . warn ;
5757 logFn ( {
58- message : `Missing dependency info for module ${ mod ? .modulePath } in registry, this should not happen (ID: ${ mod ? .moduleId } )` ,
58+ message : `Missing dependency info for module ${ mod . modulePath } in registry, this should not happen (ID: ${ mod . moduleId } )` ,
5959 meta : mod ,
6060 } ) ;
6161 }
@@ -64,7 +64,7 @@ export default function rollupPluginSbom(userOptions?: RollupPluginSbomOptions):
6464 if ( ! pkg || ! pkg . name || ! pkg . version ) {
6565 const logFn = mod . isTransitive ? context . debug : context . warn ;
6666 logFn ( {
67- message : `Missing package data for module ${ mod ? .modulePath } in registry, this should not happen (ID: ${ mod ? .moduleId } )` ,
67+ message : `Missing package data for module ${ mod . modulePath } in registry, this should not happen (ID: ${ mod . moduleId } )` ,
6868 meta : mod ,
6969 } ) ;
7070 return ;
You can’t perform that action at this time.
0 commit comments