Skip to content

Commit fec2474

Browse files
a-orenclaude
andcommitted
fix(license): use cause-agnostic wording for UNKNOWN category reason
UNKNOWN category can result from categorization issues, not just non-standard SPDX identifiers. Use "License category could not be determined" instead of "License not recognized as a standard SPDX identifier" per reviewer feedback. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 968c146 commit fec2474

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/io/github/guacsec/trustifyda/license/LicenseCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public static CompletableFuture<LicenseSummary> runLicenseCheck(
147147
if (status == Compatibility.INCOMPATIBLE) {
148148
String reason =
149149
entry.category() == LicenseCategory.UNKNOWN
150-
? "License not recognized as a standard SPDX identifier."
150+
? "License category could not be determined."
151151
+ " Manual review recommended to verify compatibility."
152152
: "Dependency license(s) are incompatible with the project"
153153
+ " license.";

0 commit comments

Comments
 (0)