Skip to content

Commit f91ed36

Browse files
authored
fix: SBOM license data model [TAROT-2829] :breaking:
* fix: SBOM license data model [TAROT-2829] :breaking: * bump: Codacy base orb to 12.1.3
1 parent d62bb43 commit f91ed36

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22

33
orbs:
4-
codacy: codacy/base@11.2.0
4+
codacy: codacy/base@12.1.3
55

66
workflows:
77
version: 2

codacy-plugins-api/src/main/scala/com/codacy/plugins/api/results/Result.scala

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,11 @@ object Result {
123123

124124
case class LicenseWrapper(license: License)
125125

126-
/** A software license. */
127-
case class License(name: String)
126+
/** A software license.
127+
*
128+
* `id` and `name` cannot both be undefined.
129+
*/
130+
case class License(id: Option[String], name: Option[String])
128131

129132
/** Documents a dependency relationship between components.
130133
*

0 commit comments

Comments
 (0)