Skip to content

Commit cdea937

Browse files
committed
chore: link open issues in code - #271
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent bcfefdf commit cdea937

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/models/license.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ import type { Attachment } from './attachment'
2525
export class LicenseExpression {
2626
static isEligibleExpression (expression: string | any): boolean {
2727
// smallest known: (A or B)
28-
// TODO: use a better detection - maybe validate via https://www.npmjs.com/package/spdx-expression-parse
28+
/* TODO: use a better detection.
29+
* maybe validate via https://www.npmjs.com/package/spdx-expression-parse
30+
* see https://github.com/CycloneDX/cyclonedx-javascript-library/issues/271
31+
*/
2932
return typeof expression === 'string' &&
3033
expression.length >= 8 &&
3134
expression[0] === '(' &&

0 commit comments

Comments
 (0)