Skip to content

Commit

Permalink
fix(pub): Use the correct key name when replacing options
Browse files Browse the repository at this point in the history
In ff0ca15, `OPTION_GRADLE_VERSION` (which equals "gradleVersion") was
errorneously replaced with `gradleFactory.type` (which equals "Gradle")
in two places. One of these was fixed in 1ba253a. Fix the other one
here.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Sep 11, 2024
1 parent 0d1965b commit 9cca883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/package-managers/pub/src/main/kotlin/Pub.kt
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ class Pub(

val gradleAnalyzerConfig = analyzerConfig.withPackageManagerOption(
"Gradle",
gradleFactory.type,
OPTION_GRADLE_VERSION,
pubGradleVersion
)

Expand Down

0 comments on commit 9cca883

Please sign in to comment.