Skip to content

Commit 75ee264

Browse files
jkowalleckCopilot
andauthored
Update src/plugin.ts
Co-authored-by: Copilot <[email protected]> Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 83be366 commit 75ee264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export class CycloneDxWebpackPlugin {
264264
const components= extractor.generateComponents(modules, this.collectEvidence, thisLogger.getChildLogger('Extractor'))
265265
const rcComponentDetected = components.get(rcDesc.path)
266266
if ( undefined!==rcComponentDetected ) {
267-
if ( this.rootComponentAutodetect ) {
267+
if (this.rootComponentAutodetect) {
268268
thisLogger.debug('add to bom.metadata.component', rcComponentDetected)
269269
bom.metadata.component = rcComponentDetected
270270
components.delete(rcDesc.path)

0 commit comments

Comments
 (0)