Skip to content

Commit

Permalink
fix(aosd): Fix the default descriptor argument for the AOSD 2.1 reporter
Browse files Browse the repository at this point in the history
This is a fixup for cd871ca.

Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
  • Loading branch information
mnonnenmacher committed Nov 24, 2024
1 parent cd871ca commit 3d1a87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/reporters/aosd/src/main/kotlin/Aosd21Reporter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import org.ossreviewtoolkit.utils.spdx.nullOrBlankToSpdxNoassertionOrNone
description = "A reporter for the Audi Open Source Diagnostics (AOSD) 2.1 format.",
factory = ReporterFactory::class
)
class Aosd21Reporter(override val descriptor: PluginDescriptor = Aosd20ReporterFactory.descriptor) : Reporter {
class Aosd21Reporter(override val descriptor: PluginDescriptor = Aosd21ReporterFactory.descriptor) : Reporter {
override fun generateReport(input: ReporterInput, outputDir: File): List<Result<File>> {
val reportFiles = input.ortResult.getProjects(omitExcluded = true).map { project ->
val indexedPackages = input.ortResult.getPackages(omitExcluded = true).withIndex().associateBy {
Expand Down

0 comments on commit 3d1a87d

Please sign in to comment.