Skip to content

Commit

Permalink
fix(helper-cli): Add a default value for Dependency.purl
Browse files Browse the repository at this point in the history
The recent addition of `dependency.purl` [1] made providing that `purl`
mandatory. That should have been optional so that the change is
non-breaking. Fix that by adding a default value.

[1] b1a157d

Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Dec 10, 2024
1 parent 097eb5d commit 29a6384
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private data class PackageList(

private data class Dependency(
val id: Identifier,
val purl: String?,
val purl: String? = null,
val vcs: Vcs? = null,
val sourceArtifact: SourceArtifact? = null,
val isExcluded: Boolean = false,
Expand Down

0 comments on commit 29a6384

Please sign in to comment.