Skip to content

Commit 1458736

Browse files
committed
style
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 172d566 commit 1458736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builders.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,10 +559,10 @@ export class BomBuilder {
559559
const packageJsonPaths: Array<[string, Enums.ComponentType]> = [
560560
[path.resolve(module.path, '..', 'package.json'), Enums.ComponentType.Application]
561561
]
562-
563562
const libs = [
564563
'@cyclonedx/cyclonedx-library'
565564
].map(s => s.split('/', 2))
565+
566566
const nodeModulePaths = require.resolve.paths('__some_none-native_package__') ?? []
567567
/* eslint-disable no-labels -- needed */
568568
libsLoop:

0 commit comments

Comments
 (0)